Type Alias BitReader
pub type BitReader<FI = bool> = BitReader<FI>;Expand description
Bit-wise field reader
Aliased Type§
pub struct BitReader<FI = bool> { /* private fields */ }Implementations§
§impl<FI> BitReader<FI>
impl<FI> BitReader<FI>
pub const fn bit_is_clear(&self) -> bool
pub const fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0).
pub const fn bit_is_set(&self) -> bool
pub const fn bit_is_set(&self) -> bool
Returns true if the bit is set (1).