pub struct OPTL_R(_);
Expand description
Field OPTL
reader - Option Code Length
Implementations
sourceimpl OPTL_R
impl OPTL_R
sourcepub fn is_option_1bit(&self) -> bool
pub fn is_option_1bit(&self) -> bool
Checks if the value of the field is OPTION_1BIT
sourcepub fn is_option_2bit(&self) -> bool
pub fn is_option_2bit(&self) -> bool
Checks if the value of the field is OPTION_2BIT
sourcepub fn is_option_4bit(&self) -> bool
pub fn is_option_4bit(&self) -> bool
Checks if the value of the field is OPTION_4BIT
sourcepub fn is_option_8bit(&self) -> bool
pub fn is_option_8bit(&self) -> bool
Checks if the value of the field is OPTION_8BIT
Methods from Deref<Target = FieldReader<u8, OPTL_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OPTL_R
impl Send for OPTL_R
impl Sync for OPTL_R
impl Unpin for OPTL_R
impl UnwindSafe for OPTL_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more