Struct bobbin_bits::U27
[−]
[src]
pub struct U27(_);
Methods
impl U27
[src]
pub fn value(&self) -> u32
[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_u32(self) -> u32
[src]
Returns the value as a u32.
pub fn into_usize(self) -> usize
[src]
Returns the value as a usize.
Trait Implementations
impl PartialEq for U27
[src]
fn eq(&self, __arg_0: &U27) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &U27) -> bool
[src]
This method tests for !=
.
impl Eq for U27
[src]
impl Clone for U27
[src]
fn clone(&self) -> U27
[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 U27
[src]
impl From<i32> for U27
[src]
impl From<usize> for U27
[src]
impl From<u32> for U27
[src]
impl From<u16> for U27
[src]
impl From<u8> for U27
[src]
impl From<U27> for usize
[src]
impl From<U27> for u32
[src]
impl From<U27> for u16
[src]
impl From<U27> for u8
[src]
impl PartialEq<i32> for U27
[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 U27
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for U27
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more