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