#[repr(usize)]pub enum R31 {
Show 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,
}
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
Implementations§
Source§impl R31
impl R31
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 R31
impl Eq for R31
impl StructuralPartialEq for R31
Auto Trait Implementations§
impl Freeze for R31
impl RefUnwindSafe for R31
impl Send for R31
impl Sync for R31
impl Unpin for R31
impl UnwindSafe for R31
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