Reg32

Enum Reg32 

Source
#[repr(u8)]
pub enum Reg32 {
Show 32 variants Reg1 = 0, Reg2 = 1, Reg3 = 2, Reg4 = 3, Reg5 = 4, Reg6 = 5, Reg7 = 6, Reg8 = 7, Reg9 = 8, Reg10 = 9, Reg11 = 10, Reg12 = 11, Reg13 = 12, Reg14 = 13, Reg15 = 14, Reg16 = 15, Reg17 = 16, Reg18 = 17, Reg19 = 18, Reg20 = 19, Reg21 = 20, Reg22 = 21, Reg23 = 22, Reg24 = 23, Reg25 = 24, Reg26 = 25, Reg27 = 26, Reg28 = 27, Reg29 = 28, Reg30 = 29, Reg31 = 30, Reg32 = 31,
}
Expand description

All possible register indexes for a and r register sets

Variants§

§

Reg1 = 0

Register with index [1]

§

Reg2 = 1

Register with index [2]

§

Reg3 = 2

Register with index [3]

§

Reg4 = 3

Register with index [4]

§

Reg5 = 4

Register with index [5]

§

Reg6 = 5

Register with index [6]

§

Reg7 = 6

Register with index [7]

§

Reg8 = 7

Register with index [8]

§

Reg9 = 8

Register with index [9]

§

Reg10 = 9

Register with index [10]

§

Reg11 = 10

Register with index [11]

§

Reg12 = 11

Register with index [12]

§

Reg13 = 12

Register with index [13]

§

Reg14 = 13

Register with index [14]

§

Reg15 = 14

Register with index [15]

§

Reg16 = 15

Register with index [16]

§

Reg17 = 16

Register with index [17]

§

Reg18 = 17

Register with index [18]

§

Reg19 = 18

Register with index [19]

§

Reg20 = 19

Register with index [20]

§

Reg21 = 20

Register with index [21]

§

Reg22 = 21

Register with index [22]

§

Reg23 = 22

Register with index [23]

§

Reg24 = 23

Register with index [24]

§

Reg25 = 24

Register with index [25]

§

Reg26 = 25

Register with index [26]

§

Reg27 = 26

Register with index [27]

§

Reg28 = 27

Register with index [28]

§

Reg29 = 28

Register with index [29]

§

Reg30 = 29

Register with index [30]

§

Reg31 = 30

Register with index [31]

§

Reg32 = 31

Register with index [32]

Trait Implementations§

Source§

impl Clone for Reg32

Source§

fn clone(&self) -> Reg32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Reg32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Reg32

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for Reg32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<&Reg32> for u5

Source§

fn from(reg32: &Reg32) -> Self

Converts to this type from the input type.
Source§

impl From<Reg16> for Reg32

Source§

fn from(reg16: Reg16) -> Self

Converts to this type from the input type.
Source§

impl From<Reg32> for u5

Source§

fn from(reg32: Reg32) -> Self

Converts to this type from the input type.
Source§

impl From<Reg8> for Reg32

Source§

fn from(reg8: Reg8) -> Self

Converts to this type from the input type.
Source§

impl From<u5> for Reg32

Source§

fn from(val: u5) -> Self

Converts to this type from the input type.
Source§

impl Hash for Reg32

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Reg32

Source§

fn cmp(&self, other: &Reg32) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Reg32

Source§

fn eq(&self, other: &Reg32) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Reg32

Source§

fn partial_cmp(&self, other: &Reg32) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for Reg32

Source§

impl Eq for Reg32

Source§

impl StructuralPartialEq for Reg32

Auto Trait Implementations§

§

impl Freeze for Reg32

§

impl RefUnwindSafe for Reg32

§

impl Send for Reg32

§

impl Sync for Reg32

§

impl Unpin for Reg32

§

impl UnwindSafe for Reg32

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.