#[repr(usize)]pub enum R32 {
Show 32 variants
X00 = 0,
X01 = 1,
X02 = 2,
X03 = 3,
X04 = 4,
X05 = 5,
X06 = 6,
X07 = 7,
X08 = 8,
X09 = 9,
X0a = 10,
X0b = 11,
X0c = 12,
X0d = 13,
X0e = 14,
X0f = 15,
X10 = 16,
X11 = 17,
X12 = 18,
X13 = 19,
X14 = 20,
X15 = 21,
X16 = 22,
X17 = 23,
X18 = 24,
X19 = 25,
X1a = 26,
X1b = 27,
X1c = 28,
X1d = 29,
X1e = 30,
X1f = 31,
}
Variants§
X00 = 0
X01 = 1
X02 = 2
X03 = 3
X04 = 4
X05 = 5
X06 = 6
X07 = 7
X08 = 8
X09 = 9
X0a = 10
X0b = 11
X0c = 12
X0d = 13
X0e = 14
X0f = 15
X10 = 16
X11 = 17
X12 = 18
X13 = 19
X14 = 20
X15 = 21
X16 = 22
X17 = 23
X18 = 24
X19 = 25
X1a = 26
X1b = 27
X1c = 28
X1d = 29
X1e = 30
X1f = 31
Implementations§
Source§impl R32
impl R32
Sourcepub unsafe fn from_u8_unchecked(other: u8) -> Self
pub unsafe fn from_u8_unchecked(other: u8) -> Self
Constructs the value without a range check.
Sourcepub unsafe fn from_u16_unchecked(other: u16) -> Self
pub unsafe fn from_u16_unchecked(other: u16) -> Self
Constructs the value without a range check.
Sourcepub unsafe fn from_u32_unchecked(other: u32) -> Self
pub unsafe fn from_u32_unchecked(other: u32) -> Self
Constructs the value without a range check.
Sourcepub unsafe fn from_usize_unchecked(other: usize) -> Self
pub unsafe fn from_usize_unchecked(other: usize) -> Self
Constructs the value without a range check.
Sourcepub fn into_usize(self) -> usize
pub fn into_usize(self) -> usize
Returns the value as an usize.
Trait Implementations§
impl Copy for R32
impl Eq for R32
impl StructuralPartialEq for R32
Auto Trait Implementations§
impl Freeze for R32
impl RefUnwindSafe for R32
impl Send for R32
impl Sync for R32
impl Unpin for R32
impl UnwindSafe for R32
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