pub enum UDRR {
NOUNDERRUN,
UNDERRUN,
}
Expand description
Possible values of the field UDR
Variants§
Implementations§
Source§impl UDRR
impl UDRR
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_no_underrun(&self) -> bool
pub fn is_no_underrun(&self) -> bool
Checks if the value of the field is NOUNDERRUN
Sourcepub fn is_underrun(&self) -> bool
pub fn is_underrun(&self) -> bool
Checks if the value of the field is UNDERRUN
Trait Implementations§
impl Copy for UDRR
impl StructuralPartialEq for UDRR
Auto Trait Implementations§
impl Freeze for UDRR
impl RefUnwindSafe for UDRR
impl Send for UDRR
impl Sync for UDRR
impl Unpin for UDRR
impl UnwindSafe for UDRR
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