pub struct IrqFlags(/* private fields */);
Implementations§
Source§impl IrqFlags
impl IrqFlags
Sourcepub const fn with_noresize_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_noresize_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_noresize(self, value: bool) -> Self
pub const fn with_noresize(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_noresize(&mut self, value: bool)
pub const fn set_noresize(&mut self, value: bool)
Bits: 3..4
Trait Implementations§
impl Copy for IrqFlags
Auto Trait Implementations§
impl Freeze for IrqFlags
impl RefUnwindSafe for IrqFlags
impl Send for IrqFlags
impl Sync for IrqFlags
impl Unpin for IrqFlags
impl UnwindSafe for IrqFlags
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