pub enum DSR {
Show 14 variants
FOURBIT,
FIVEBIT,
SIXBIT,
SEVENBIT,
EIGHTBIT,
NINEBIT,
TENBIT,
ELEVENBIT,
TWELVEBIT,
THIRTEENBIT,
FOURTEENBIT,
FIFTEENBIT,
SIXTEENBIT,
_Reserved(u8),
}
Expand description
Possible values of the field DS
Variants§
FOURBIT
4-bit
FIVEBIT
5-bit
SIXBIT
6-bit
SEVENBIT
7-bit
EIGHTBIT
8-bit
NINEBIT
9-bit
TENBIT
10-bit
ELEVENBIT
11-bit
TWELVEBIT
12-bit
THIRTEENBIT
13-bit
FOURTEENBIT
14-bit
FIFTEENBIT
15-bit
SIXTEENBIT
16-bit
_Reserved(u8)
Reserved
Implementations§
Source§impl DSR
impl DSR
Sourcepub fn is_four_bit(&self) -> bool
pub fn is_four_bit(&self) -> bool
Checks if the value of the field is FOURBIT
Sourcepub fn is_five_bit(&self) -> bool
pub fn is_five_bit(&self) -> bool
Checks if the value of the field is FIVEBIT
Sourcepub fn is_six_bit(&self) -> bool
pub fn is_six_bit(&self) -> bool
Checks if the value of the field is SIXBIT
Sourcepub fn is_seven_bit(&self) -> bool
pub fn is_seven_bit(&self) -> bool
Checks if the value of the field is SEVENBIT
Sourcepub fn is_eight_bit(&self) -> bool
pub fn is_eight_bit(&self) -> bool
Checks if the value of the field is EIGHTBIT
Sourcepub fn is_nine_bit(&self) -> bool
pub fn is_nine_bit(&self) -> bool
Checks if the value of the field is NINEBIT
Sourcepub fn is_ten_bit(&self) -> bool
pub fn is_ten_bit(&self) -> bool
Checks if the value of the field is TENBIT
Sourcepub fn is_eleven_bit(&self) -> bool
pub fn is_eleven_bit(&self) -> bool
Checks if the value of the field is ELEVENBIT
Sourcepub fn is_twelve_bit(&self) -> bool
pub fn is_twelve_bit(&self) -> bool
Checks if the value of the field is TWELVEBIT
Sourcepub fn is_thirteen_bit(&self) -> bool
pub fn is_thirteen_bit(&self) -> bool
Checks if the value of the field is THIRTEENBIT
Sourcepub fn is_fourteen_bit(&self) -> bool
pub fn is_fourteen_bit(&self) -> bool
Checks if the value of the field is FOURTEENBIT
Sourcepub fn is_fifteen_bit(&self) -> bool
pub fn is_fifteen_bit(&self) -> bool
Checks if the value of the field is FIFTEENBIT
Sourcepub fn is_sixteen_bit(&self) -> bool
pub fn is_sixteen_bit(&self) -> bool
Checks if the value of the field is SIXTEENBIT
Trait Implementations§
impl Copy for DSR
impl StructuralPartialEq for DSR
Auto Trait Implementations§
impl Freeze for DSR
impl RefUnwindSafe for DSR
impl Send for DSR
impl Sync for DSR
impl Unpin for DSR
impl UnwindSafe for DSR
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