pub struct Modifiers {
pub register: ModifierRegisterName,
pub bitmap: String,
}
Expand description
CPUID register modifier
Fieldsยง
ยงregister: ModifierRegisterName
CPUID register name One of [โeaxโ, โebxโ, โecxโ, โedxโ]
bitmap: String
CPUID register value bitmap.
Must be in format 0b[01x]{32}
.
Corresponding bits will be cleared (0
), set (1
) or left intact (x
). (_
) can be used as a separator.
Examples: [โ0bxxxx000000000011xx00011011110010โ, โ0bxxxxxxxxxxxxx0xx00xx00x0_0000_00xxโ]
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for Modifiers
impl<'de> Deserialize<'de> for Modifiers
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl Ord for Modifiers
impl Ord for Modifiers
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialOrd for Modifiers
impl PartialOrd for Modifiers
impl Eq for Modifiers
impl StructuralPartialEq for Modifiers
Auto Trait Implementationsยง
impl Freeze for Modifiers
impl RefUnwindSafe for Modifiers
impl Send for Modifiers
impl Sync for Modifiers
impl Unpin for Modifiers
impl UnwindSafe for Modifiers
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