pub struct MadtGiccFlags(/* private fields */);
Implementations§
Source§impl MadtGiccFlags
impl MadtGiccFlags
Sourcepub const fn with_enabled_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_enabled_checked(self, value: bool) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_enabled(self, value: bool) -> Self
pub const fn with_enabled(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_enabled(&mut self, value: bool)
pub const fn set_enabled(&mut self, value: bool)
Bits: 0..1
Trait Implementations§
Source§impl Clone for MadtGiccFlags
impl Clone for MadtGiccFlags
Source§fn clone(&self) -> MadtGiccFlags
fn clone(&self) -> MadtGiccFlags
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 MadtGiccFlags
impl Debug for MadtGiccFlags
Source§impl Default for MadtGiccFlags
impl Default for MadtGiccFlags
Source§impl From<MadtGiccFlags> for u32
impl From<MadtGiccFlags> for u32
Source§fn from(v: MadtGiccFlags) -> u32
fn from(v: MadtGiccFlags) -> u32
Converts to this type from the input type.
Source§impl From<u32> for MadtGiccFlags
impl From<u32> for MadtGiccFlags
impl Copy for MadtGiccFlags
Auto Trait Implementations§
impl Freeze for MadtGiccFlags
impl RefUnwindSafe for MadtGiccFlags
impl Send for MadtGiccFlags
impl Sync for MadtGiccFlags
impl Unpin for MadtGiccFlags
impl UnwindSafe for MadtGiccFlags
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