pub enum DMR {
HALFDUPLEX,
FULLDUPLEX,
}
Expand description
Possible values of the field DM
Variants§
Implementations§
Source§impl DMR
impl DMR
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)
Sourcepub fn is_half_duplex(&self) -> bool
pub fn is_half_duplex(&self) -> bool
Checks if the value of the field is HALFDUPLEX
Sourcepub fn is_full_duplex(&self) -> bool
pub fn is_full_duplex(&self) -> bool
Checks if the value of the field is FULLDUPLEX
Trait Implementations§
impl Copy for DMR
impl StructuralPartialEq for DMR
Auto Trait Implementations§
impl Freeze for DMR
impl RefUnwindSafe for DMR
impl Send for DMR
impl Sync for DMR
impl Unpin for DMR
impl UnwindSafe for DMR
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