pub trait BodyLayout {
// Required method
fn layout() -> &'static [LayoutField];
}Expand description
A structure whose bit map is declared once, by #[bitbody].
Required Methods§
Sourcefn layout() -> &'static [LayoutField]
fn layout() -> &'static [LayoutField]
Every placed field, in declaration order. Bits no field claims are preserved by the codec but have no entry here — there is no name to report them under.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".