pub enum HTIF1R {
NOTHALT,
HALF,
}
Expand description
Possible values of the field HTIF1
Variants§
Implementations§
Source§impl HTIF1R
impl HTIF1R
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_not_halt(&self) -> bool
pub fn is_not_halt(&self) -> bool
Checks if the value of the field is NOTHALT
Trait Implementations§
impl Copy for HTIF1R
impl StructuralPartialEq for HTIF1R
Auto Trait Implementations§
impl Freeze for HTIF1R
impl RefUnwindSafe for HTIF1R
impl Send for HTIF1R
impl Sync for HTIF1R
impl Unpin for HTIF1R
impl UnwindSafe for HTIF1R
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