pub trait Layout: Sealed + HList {
type Flat: FlatLayout;
const ALIGNMENT: u32;
// Required method
fn flatten(self) -> Self::Flat;
}
Expand description
Representation of the memory layout of complex types as a sequence of fundamental WIT types.
Required Associated Constants§
Required Associated Types§
Required Methods§
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.