Enum bobbin_bits::R32
[−]
[src]
#[repr(usize)]pub enum R32 { X00, X01, X02, X03, X04, X05, X06, X07, X08, X09, X0a, X0b, X0c, X0d, X0e, X0f, X10, X11, X12, X13, X14, X15, X16, X17, X18, X19, X1a, X1b, X1c, X1d, X1e, X1f, }
Variants
X00
X01
X02
X03
X04
X05
X06
X07
X08
X09
X0a
X0b
X0c
X0d
X0e
X0f
X10
X11
X12
X13
X14
X15
X16
X17
X18
X19
X1a
X1b
X1c
X1d
X1e
X1f
Methods
impl R32
[src]
fn value(&self) -> usize
[src]
Returns the primitive representation of the value.
unsafe fn from_u8_unchecked(other: u8) -> Self
[src]
Constructs the value without a range check.
unsafe fn from_u16_unchecked(other: u16) -> Self
[src]
Constructs the value without a range check.
unsafe fn from_u32_unchecked(other: u32) -> Self
[src]
Constructs the value without a range check.
unsafe fn from_usize_unchecked(other: usize) -> Self
[src]
Constructs the value without a range check.
fn into_u8(self) -> u8
[src]
Returns the value as an u8.
fn into_u16(self) -> u16
[src]
Returns the value as an u16.
fn into_u32(self) -> u32
[src]
Returns the value as an u32.
fn into_usize(self) -> usize
[src]
Returns the value as an usize.
fn into_i32(self) -> i32
[src]
Returns the value as an i32.
Trait Implementations
impl PartialEq for R32
[src]
fn eq(&self, __arg_0: &R32) -> 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 R32
[src]
impl Clone for R32
[src]
fn clone(&self) -> R32
[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 R32
[src]
impl From<u8> for R32
[src]
impl PartialEq<u8> for R32
[src]
fn eq(&self, other: &u8) -> 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 From<u16> for R32
[src]
impl PartialEq<u16> for R32
[src]
fn eq(&self, other: &u16) -> 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 From<u32> for R32
[src]
impl PartialEq<u32> for R32
[src]
fn eq(&self, other: &u32) -> 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 From<usize> for R32
[src]
impl PartialEq<usize> for R32
[src]
fn eq(&self, other: &usize) -> 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 From<i32> for R32
[src]
impl PartialEq<i32> for R32
[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 R32
[src]
impl Display for R32
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more