pub enum DATLENR {
SIXTEENBIT,
TWENTYFOURBIT,
THIRTYTWOBIT,
_Reserved(u8),
}
Expand description
Possible values of the field DATLEN
Variants§
SIXTEENBIT
16-bit data length
TWENTYFOURBIT
24-bit data length
THIRTYTWOBIT
32-bit data length
_Reserved(u8)
Reserved
Implementations§
Source§impl DATLENR
impl DATLENR
Sourcepub fn is_sixteen_bit(&self) -> bool
pub fn is_sixteen_bit(&self) -> bool
Checks if the value of the field is SIXTEENBIT
Sourcepub fn is_twenty_four_bit(&self) -> bool
pub fn is_twenty_four_bit(&self) -> bool
Checks if the value of the field is TWENTYFOURBIT
Sourcepub fn is_thirty_two_bit(&self) -> bool
pub fn is_thirty_two_bit(&self) -> bool
Checks if the value of the field is THIRTYTWOBIT
Trait Implementations§
impl Copy for DATLENR
impl StructuralPartialEq for DATLENR
Auto Trait Implementations§
impl Freeze for DATLENR
impl RefUnwindSafe for DATLENR
impl Send for DATLENR
impl Sync for DATLENR
impl Unpin for DATLENR
impl UnwindSafe for DATLENR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more