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