#[repr(u8)]pub enum U6 {
Show 64 variants
B000000 = 0,
B000001 = 1,
B000010 = 2,
B000011 = 3,
B000100 = 4,
B000101 = 5,
B000110 = 6,
B000111 = 7,
B001000 = 8,
B001001 = 9,
B001010 = 10,
B001011 = 11,
B001100 = 12,
B001101 = 13,
B001110 = 14,
B001111 = 15,
B010000 = 16,
B010001 = 17,
B010010 = 18,
B010011 = 19,
B010100 = 20,
B010101 = 21,
B010110 = 22,
B010111 = 23,
B011000 = 24,
B011001 = 25,
B011010 = 26,
B011011 = 27,
B011100 = 28,
B011101 = 29,
B011110 = 30,
B011111 = 31,
B100000 = 32,
B100001 = 33,
B100010 = 34,
B100011 = 35,
B100100 = 36,
B100101 = 37,
B100110 = 38,
B100111 = 39,
B101000 = 40,
B101001 = 41,
B101010 = 42,
B101011 = 43,
B101100 = 44,
B101101 = 45,
B101110 = 46,
B101111 = 47,
B110000 = 48,
B110001 = 49,
B110010 = 50,
B110011 = 51,
B110100 = 52,
B110101 = 53,
B110110 = 54,
B110111 = 55,
B111000 = 56,
B111001 = 57,
B111010 = 58,
B111011 = 59,
B111100 = 60,
B111101 = 61,
B111110 = 62,
B111111 = 63,
}
Variants§
B000000 = 0
B000001 = 1
B000010 = 2
B000011 = 3
B000100 = 4
B000101 = 5
B000110 = 6
B000111 = 7
B001000 = 8
B001001 = 9
B001010 = 10
B001011 = 11
B001100 = 12
B001101 = 13
B001110 = 14
B001111 = 15
B010000 = 16
B010001 = 17
B010010 = 18
B010011 = 19
B010100 = 20
B010101 = 21
B010110 = 22
B010111 = 23
B011000 = 24
B011001 = 25
B011010 = 26
B011011 = 27
B011100 = 28
B011101 = 29
B011110 = 30
B011111 = 31
B100000 = 32
B100001 = 33
B100010 = 34
B100011 = 35
B100100 = 36
B100101 = 37
B100110 = 38
B100111 = 39
B101000 = 40
B101001 = 41
B101010 = 42
B101011 = 43
B101100 = 44
B101101 = 45
B101110 = 46
B101111 = 47
B110000 = 48
B110001 = 49
B110010 = 50
B110011 = 51
B110100 = 52
B110101 = 53
B110110 = 54
B110111 = 55
B111000 = 56
B111001 = 57
B111010 = 58
B111011 = 59
B111100 = 60
B111101 = 61
B111110 = 62
B111111 = 63
Implementations§
Source§impl U6
impl U6
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 U6
impl Eq for U6
impl StructuralPartialEq for U6
Auto Trait Implementations§
impl Freeze for U6
impl RefUnwindSafe for U6
impl Send for U6
impl Sync for U6
impl Unpin for U6
impl UnwindSafe for U6
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