pub enum RXDPR {
RECEIVED,
_Reserved(bool),
}
Expand description
Possible values of the field RXDP
Variants§
Implementations§
Source§impl RXDPR
impl RXDPR
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_received(&self) -> bool
pub fn is_received(&self) -> bool
Checks if the value of the field is RECEIVED
Trait Implementations§
impl Copy for RXDPR
impl StructuralPartialEq for RXDPR
Auto Trait Implementations§
impl Freeze for RXDPR
impl RefUnwindSafe for RXDPR
impl Send for RXDPR
impl Sync for RXDPR
impl Unpin for RXDPR
impl UnwindSafe for RXDPR
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