mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 13:33:29 +00:00
22 lines
367 B
Rust
22 lines
367 B
Rust
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() {}
|