Skip to main content

TypeInfo

Derive Macro TypeInfo 

Source
#[derive(TypeInfo)]
{
    // Attributes available to this derive:
    #[epserde_zero_copy]
    #[epserde_deep_copy]
}
Expand description

Generates a partial ε-serde implementation for custom types.

It generates implementations just for the traits CopyType, AlignTo, TypeHash, and AlignHash. See the documentation of Epserde for more information.