Struct bit_struct::u19 
source · [−]pub struct u19(_);Expand description
An unsigned integer which contains 19 bits
Implementations
Trait Implementations
sourceimpl BitAndAssign<u19> for u19
 
impl BitAndAssign<u19> for u19
sourcefn bitand_assign(&mut self, rhs: Self)
 
fn bitand_assign(&mut self, rhs: Self)
Performs the 
&= operation. Read moresourceimpl BitOrAssign<u19> for u19
 
impl BitOrAssign<u19> for u19
sourcefn bitor_assign(&mut self, rhs: Self)
 
fn bitor_assign(&mut self, rhs: Self)
Performs the 
|= operation. Read moresourceimpl BitXorAssign<u19> for u19
 
impl BitXorAssign<u19> for u19
sourcefn bitxor_assign(&mut self, rhs: Self)
 
fn bitxor_assign(&mut self, rhs: Self)
Performs the 
^= operation. Read moresourceimpl<'de> Deserialize<'de> for u19
 
impl<'de> Deserialize<'de> for u19
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FieldStorage for u19
 
impl FieldStorage for u19
type StoredType = u32
type StoredType = u32
The type this field stores as
sourcefn inner_raw(self) -> Self::StoredType
 
fn inner_raw(self) -> Self::StoredType
Get the raw representation of this value
sourceimpl Num for u19
 
impl Num for u19
type FromStrRadixErr = ()
sourcefn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
 
fn from_str_radix(str: &str, radix: u32) -> Result<Self, Self::FromStrRadixErr>
Convert from a string and radix (typically 
2..=36). Read moresourceimpl Ord for u19
 
impl Ord for u19
1.21.0 · sourcefn max(self, other: Self) -> Self
 
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
 
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
    Self: PartialOrd<Self>,
 
fn clamp(self, min: Self, max: Self) -> Selfwhere
    Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<u19> for u19
 
impl PartialOrd<u19> for u19
sourcefn partial_cmp(&self, other: &u19) -> Option<Ordering>
 
fn partial_cmp(&self, other: &u19) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresourceimpl ShlAssign<usize> for u19
 
impl ShlAssign<usize> for u19
sourcefn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
Performs the 
<<= operation. Read moresourceimpl ShrAssign<usize> for u19
 
impl ShrAssign<usize> for u19
sourcefn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
Performs the 
>>= operation. Read moresourceimpl<P> ValidCheck<P> for u19
 
impl<P> ValidCheck<P> for u19
sourceconst ALWAYS_VALID: bool = true
 
const ALWAYS_VALID: bool = true
Set this to true if, at compile-time, we can tell that all bit
representations which contain the appropriate number of bits are valid
representations of this type Read more
impl Copy for u19
impl Eq for u19
impl StructuralEq for u19
impl StructuralPartialEq for u19
Auto Trait Implementations
impl RefUnwindSafe for u19
impl Send for u19
impl Sync for u19
impl Unpin for u19
impl UnwindSafe for u19
Blanket Implementations
sourceimpl<T> BitStructZero for Twhere
    T: Zero,
 
impl<T> BitStructZero for Twhere
    T: Zero,
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more