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
impl DATLENR
impl DATLENR
pub fn is_sixteen_bit(&self) -> bool
pub fn is_sixteen_bit(&self) -> bool
Checks if the value of the field is SIXTEENBIT
pub fn is_twenty_four_bit(&self) -> bool
pub fn is_twenty_four_bit(&self) -> bool
Checks if the value of the field is TWENTYFOURBIT
pub 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 RefUnwindSafe for DATLENR
impl Send for DATLENR
impl Sync for DATLENR
impl Unpin for DATLENR
impl UnwindSafe for DATLENR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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