Trait proc_bitfield::Bit
source · pub trait Bit {
// Required methods
fn bit<const BIT: usize>(self) -> bool;
fn set_bit<const BIT: usize>(self, value: bool) -> Self;
}
Expand description
A trait to read or modify a single bit inside a value.
Required Methods§
Object Safety§
This trait is not object safe.