mirror of
https://github.com/valmojr/armatak.git
synced 2026-08-19 08:22:56 +00:00
idk
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
use arma_rs::{FromArma, FromArmaError, IntoArma, Value};
|
||||
|
||||
#[derive(IntoArma)]
|
||||
struct CustomFrom(u32);
|
||||
|
||||
impl FromArma for CustomFrom {
|
||||
fn from_arma(_: String) -> Result<Self, FromArmaError> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(FromArma)]
|
||||
struct CustomInto(u32);
|
||||
|
||||
impl IntoArma for CustomInto {
|
||||
fn to_arma(&self) -> Value {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user