pub enum AFR {
NOFAILURE,
FAILURE,
}
Expand description
Possible values of the field AF
Variants§
Implementations§
Source§impl AFR
impl AFR
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_failure(&self) -> bool
pub fn is_no_failure(&self) -> bool
Checks if the value of the field is NOFAILURE
Sourcepub fn is_failure(&self) -> bool
pub fn is_failure(&self) -> bool
Checks if the value of the field is FAILURE
Trait Implementations§
impl Copy for AFR
impl StructuralPartialEq for AFR
Auto Trait Implementations§
impl Freeze for AFR
impl RefUnwindSafe for AFR
impl Send for AFR
impl Sync for AFR
impl Unpin for AFR
impl UnwindSafe for AFR
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