pub struct AvailableFlags(/* private fields */);
Implementations§
Source§impl AvailableFlags
impl AvailableFlags
Sourcepub const fn no_interrupt(&self) -> bool
pub const fn no_interrupt(&self) -> bool
Bits: 0..1
Sourcepub const fn with_no_interrupt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_no_interrupt_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_no_interrupt(self, value: bool) -> Self
pub const fn with_no_interrupt(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_no_interrupt(&mut self, value: bool)
pub const fn set_no_interrupt(&mut self, value: bool)
Bits: 0..1
Trait Implementations§
Source§impl Clone for AvailableFlags
impl Clone for AvailableFlags
Source§fn clone(&self) -> AvailableFlags
fn clone(&self) -> AvailableFlags
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AvailableFlags
impl Debug for AvailableFlags
Source§impl Default for AvailableFlags
impl Default for AvailableFlags
Source§impl From<AvailableFlags> for u16
impl From<AvailableFlags> for u16
Source§fn from(v: AvailableFlags) -> u16
fn from(v: AvailableFlags) -> u16
Converts to this type from the input type.
Source§impl From<u16> for AvailableFlags
impl From<u16> for AvailableFlags
impl Copy for AvailableFlags
Auto Trait Implementations§
impl Freeze for AvailableFlags
impl RefUnwindSafe for AvailableFlags
impl Send for AvailableFlags
impl Sync for AvailableFlags
impl Unpin for AvailableFlags
impl UnwindSafe for AvailableFlags
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