pub trait BitField<'a> {
    type Size: Default + Into<u128> + TryFrom<u128> + Copy + Debug;
    const LAYOUT: Layout<'a> = _;
    // Required method
    fn value(&self) -> Self::Size;
    // Provided methods
    fn iter(&self) -> Iter<'a, Self::Size> ⓘ { ... }
    fn significants(&self) -> Significants<'a, Self::Size> ⓘ { ... }
    fn reserved(&self) -> Reserved<'a, Self::Size> ⓘ { ... }
}Expand description
Trait for Bit Field data
Provided Associated Constants§
Required Associated Types§
Required Methods§
Provided Methods§
fn iter(&self) -> Iter<'a, Self::Size> ⓘ
fn significants(&self) -> Significants<'a, Self::Size> ⓘ
fn reserved(&self) -> Reserved<'a, Self::Size> ⓘ
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.