Enum bobbin_bits::U6
[−]
[src]
#[repr(u8)]pub enum U6 { B000000, B000001, B000010, B000011, B000100, B000101, B000110, B000111, B001000, B001001, B001010, B001011, B001100, B001101, B001110, B001111, B010000, B010001, B010010, B010011, B010100, B010101, B010110, B010111, B011000, B011001, B011010, B011011, B011100, B011101, B011110, B011111, B100000, B100001, B100010, B100011, B100100, B100101, B100110, B100111, B101000, B101001, B101010, B101011, B101100, B101101, B101110, B101111, B110000, B110001, B110010, B110011, B110100, B110101, B110110, B110111, B111000, B111001, B111010, B111011, B111100, B111101, B111110, B111111, }
Variants
B000000
B000001
B000010
B000011
B000100
B000101
B000110
B000111
B001000
B001001
B001010
B001011
B001100
B001101
B001110
B001111
B010000
B010001
B010010
B010011
B010100
B010101
B010110
B010111
B011000
B011001
B011010
B011011
B011100
B011101
B011110
B011111
B100000
B100001
B100010
B100011
B100100
B100101
B100110
B100111
B101000
B101001
B101010
B101011
B101100
B101101
B101110
B101111
B110000
B110001
B110010
B110011
B110100
B110101
B110110
B110111
B111000
B111001
B111010
B111011
B111100
B111101
B111110
B111111
Methods
impl U6
[src]
pub fn value(&self) -> u8
[src]
Returns the primitive representation of the value.
pub unsafe fn from_u8_unchecked(other: u8) -> Self
[src]
Constructs the value without a range check.
pub unsafe fn from_u16_unchecked(other: u16) -> Self
[src]
Constructs the value without a range check.
pub unsafe fn from_u32_unchecked(other: u32) -> Self
[src]
Constructs the value without a range check.
pub unsafe fn from_usize_unchecked(other: usize) -> Self
[src]
Constructs the value without a range check.
pub fn into_u8(self) -> u8
[src]
Returns the value as an u8.
pub fn into_u16(self) -> u16
[src]
Returns the value as an u16.
pub fn into_u32(self) -> u32
[src]
Returns the value as an u32.
pub fn into_usize(self) -> usize
[src]
Returns the value as an usize.
pub fn into_i32(self) -> i32
[src]
Returns the value as an i32.
Trait Implementations
impl PartialEq for U6
[src]
fn eq(&self, __arg_0: &U6) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for U6
[src]
impl Clone for U6
[src]
fn clone(&self) -> U6
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for U6
[src]
impl From<u8> for U6
[src]
impl From<U6> for u8
[src]
impl From<u16> for U6
[src]
impl From<U6> for u16
[src]
impl From<u32> for U6
[src]
impl From<U6> for u32
[src]
impl From<usize> for U6
[src]
impl From<U6> for usize
[src]
impl From<i32> for U6
[src]
impl From<U6> for i32
[src]
impl PartialEq<i32> for U6
[src]
fn eq(&self, other: &i32) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for U6
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for U6
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more