Skip to main content

part_codec

Macro part_codec 

Source
macro_rules! part_codec {
    (
        impl <$($impl_generics:ident),+> $ty:ty
        {
            type Repr = $repr:ty;
        }
    ) => { ... };
    (
        impl $ty:ty
        {
            type Repr = $repr:ty;
        }
    ) => { ... };
    (
        @expand
        [$($impl_generics:tt)*]
        [$($de_impl_generics:tt)*]
        [$ty:ty]
        [$repr:ty]
    ) => { ... };
}
Expand description