pub trait Layout {
type TypeLayout: Copy + Default + Debug + Eq + PartialEq;
type FieldLayout: Copy + Default + Debug + Eq + PartialEq;
type OpaqueLayout: Copy + Default + Debug + Eq + PartialEq;
}
Expand description
A collection of types encoding the layout of a type.
Required Associated Types§
Sourcetype TypeLayout: Copy + Default + Debug + Eq + PartialEq
type TypeLayout: Copy + Default + Debug + Eq + PartialEq
The type used to encode the layout of the type itself.