pub trait Deserialization<FormatType: Trait>: Sized {
type Deserializer: Trait<Self, FormatType>;
}
Expand description
A trait that associates a type with its flexpiler Deseriaizer type
The flexpiler_derive macro will generate a custom Deserializer type and then impl this trait for your type, associating it with the auto-generated deserializer type.
Required Associated Types§
type Deserializer: Trait<Self, FormatType>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.