Struct Int
#[repr(transparent)]pub struct Int(pub u32);Expand description
Enable or disable interrupt.
Tuple Fields§
§0: u32Implementations§
§impl Int
impl Int
pub const fn invalidoperation(&self) -> bool
pub const fn invalidoperation(&self) -> bool
Enable or disable interrupt for event INVALIDOPERATION.
pub const fn set_invalidoperation(&mut self, val: bool)
pub const fn set_invalidoperation(&mut self, val: bool)
Enable or disable interrupt for event INVALIDOPERATION.
pub const fn dividebyzero(&self) -> bool
pub const fn dividebyzero(&self) -> bool
Enable or disable interrupt for event DIVIDEBYZERO.
pub const fn set_dividebyzero(&mut self, val: bool)
pub const fn set_dividebyzero(&mut self, val: bool)
Enable or disable interrupt for event DIVIDEBYZERO.
pub const fn set_overflow(&mut self, val: bool)
pub const fn set_overflow(&mut self, val: bool)
Enable or disable interrupt for event OVERFLOW.
pub const fn set_underflow(&mut self, val: bool)
pub const fn set_underflow(&mut self, val: bool)
Enable or disable interrupt for event UNDERFLOW.
pub const fn set_inexact(&mut self, val: bool)
pub const fn set_inexact(&mut self, val: bool)
Enable or disable interrupt for event INEXACT.
pub const fn denormalinput(&self) -> bool
pub const fn denormalinput(&self) -> bool
Enable or disable interrupt for event DENORMALINPUT.
pub const fn set_denormalinput(&mut self, val: bool)
pub const fn set_denormalinput(&mut self, val: bool)
Enable or disable interrupt for event DENORMALINPUT.
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnsafeUnpin for Int
impl UnwindSafe for Int
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