pub unsafe trait StructEncodeMetadata<R>: StructMetadata {
const ENCODERS: &'static [ErasedEncoderEntry];
}
Expand description
Metadata for encoding a struct.
§Safety
The implementor must ensure that the ENCODERS
are correct and complete for
Self
and R
.
Required Associated Constants§
sourceconst ENCODERS: &'static [ErasedEncoderEntry]
const ENCODERS: &'static [ErasedEncoderEntry]
The list of encoder vtables.
Object Safety§
This trait is not object safe.