Enum nvbit_model::RegisterModifier
source · pub enum RegisterModifier {
None = 0,
X1 = 1,
X4 = 2,
X8 = 3,
X16 = 4,
U32 = 5,
U64 = 6,
}Expand description
NVBIT Register modifiers.
Variants§
Trait Implementations§
source§impl Debug for RegisterModifier
impl Debug for RegisterModifier
source§impl<'de> Deserialize<'de> for RegisterModifier
impl<'de> Deserialize<'de> for RegisterModifier
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 Hash for RegisterModifier
impl Hash for RegisterModifier
source§impl Ord for RegisterModifier
impl Ord for RegisterModifier
source§fn cmp(&self, other: &RegisterModifier) -> Ordering
fn cmp(&self, other: &RegisterModifier) -> Ordering
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 PartialEq for RegisterModifier
impl PartialEq for RegisterModifier
source§fn eq(&self, other: &RegisterModifier) -> bool
fn eq(&self, other: &RegisterModifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for RegisterModifier
impl PartialOrd for RegisterModifier
source§fn partial_cmp(&self, other: &RegisterModifier) -> Option<Ordering>
fn partial_cmp(&self, other: &RegisterModifier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for RegisterModifier
impl Serialize for RegisterModifier
impl Eq for RegisterModifier
impl StructuralEq for RegisterModifier
impl StructuralPartialEq for RegisterModifier
Auto Trait Implementations§
impl RefUnwindSafe for RegisterModifier
impl Send for RegisterModifier
impl Sync for RegisterModifier
impl Unpin for RegisterModifier
impl UnwindSafe for RegisterModifier
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