RegisterPPC

Enum RegisterPPC 

Source
#[repr(u32)]
pub enum RegisterPPC {
Show 81 variants INVALID = 0, PC = 1, R0 = 2, R1 = 3, R2 = 4, R3 = 5, R4 = 6, R5 = 7, R6 = 8, R7 = 9, R8 = 10, R9 = 11, R10 = 12, R11 = 13, R12 = 14, R13 = 15, R14 = 16, R15 = 17, R16 = 18, R17 = 19, R18 = 20, R19 = 21, R20 = 22, R21 = 23, R22 = 24, R23 = 25, R24 = 26, R25 = 27, R26 = 28, R27 = 29, R28 = 30, R29 = 31, R30 = 32, R31 = 33, CR0 = 34, CR1 = 35, CR2 = 36, CR3 = 37, CR4 = 38, CR5 = 39, CR6 = 40, CR7 = 41, FPR0 = 42, FPR1 = 43, FPR2 = 44, FPR3 = 45, FPR4 = 46, FPR5 = 47, FPR6 = 48, FPR7 = 49, FPR8 = 50, FPR9 = 51, FPR10 = 52, FPR11 = 53, FPR12 = 54, FPR13 = 55, FPR14 = 56, FPR15 = 57, FPR16 = 58, FPR17 = 59, FPR18 = 60, FPR19 = 61, FPR20 = 62, FPR21 = 63, FPR22 = 64, FPR23 = 65, FPR24 = 66, FPR25 = 67, FPR26 = 68, FPR27 = 69, FPR28 = 70, FPR29 = 71, FPR30 = 72, FPR31 = 73, LR = 74, XER = 75, CTR = 76, MSR = 77, FPSCR = 78, CR = 79, ENDING = 80,
}

Variants§

§

INVALID = 0

§

PC = 1

§

R0 = 2

§

R1 = 3

§

R2 = 4

§

R3 = 5

§

R4 = 6

§

R5 = 7

§

R6 = 8

§

R7 = 9

§

R8 = 10

§

R9 = 11

§

R10 = 12

§

R11 = 13

§

R12 = 14

§

R13 = 15

§

R14 = 16

§

R15 = 17

§

R16 = 18

§

R17 = 19

§

R18 = 20

§

R19 = 21

§

R20 = 22

§

R21 = 23

§

R22 = 24

§

R23 = 25

§

R24 = 26

§

R25 = 27

§

R26 = 28

§

R27 = 29

§

R28 = 30

§

R29 = 31

§

R30 = 32

§

R31 = 33

§

CR0 = 34

§

CR1 = 35

§

CR2 = 36

§

CR3 = 37

§

CR4 = 38

§

CR5 = 39

§

CR6 = 40

§

CR7 = 41

§

FPR0 = 42

§

FPR1 = 43

§

FPR2 = 44

§

FPR3 = 45

§

FPR4 = 46

§

FPR5 = 47

§

FPR6 = 48

§

FPR7 = 49

§

FPR8 = 50

§

FPR9 = 51

§

FPR10 = 52

§

FPR11 = 53

§

FPR12 = 54

§

FPR13 = 55

§

FPR14 = 56

§

FPR15 = 57

§

FPR16 = 58

§

FPR17 = 59

§

FPR18 = 60

§

FPR19 = 61

§

FPR20 = 62

§

FPR21 = 63

§

FPR22 = 64

§

FPR23 = 65

§

FPR24 = 66

§

FPR25 = 67

§

FPR26 = 68

§

FPR27 = 69

§

FPR28 = 70

§

FPR29 = 71

§

FPR30 = 72

§

FPR31 = 73

§

LR = 74

§

XER = 75

§

CTR = 76

§

MSR = 77

§

FPSCR = 78

§

CR = 79

§

ENDING = 80

Trait Implementations§

Source§

impl Clone for RegisterPPC

Source§

fn clone(&self) -> RegisterPPC

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 RegisterPPC

Source§

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

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

impl From<RegisterPPC> for i32

Source§

fn from(value: RegisterPPC) -> Self

Converts to this type from the input type.
Source§

impl Hash for RegisterPPC

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 RegisterPPC

Source§

fn cmp(&self, other: &RegisterPPC) -> 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 RegisterPPC

Source§

fn eq(&self, other: &RegisterPPC) -> 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 RegisterPPC

Source§

fn partial_cmp(&self, other: &RegisterPPC) -> 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 RegisterPPC

Source§

impl Eq for RegisterPPC

Source§

impl StructuralPartialEq for RegisterPPC

Auto Trait Implementations§

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, 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.