Struct bit_struct::i20 
source · [−]pub struct i20(_);Implementations
Trait Implementations
sourceimpl BitAndAssign<i20> for i20
 
impl BitAndAssign<i20> for i20
sourcefn bitand_assign(&mut self, rhs: Self)
 
fn bitand_assign(&mut self, rhs: Self)
Performs the &= operation. Read more
sourceimpl BitOrAssign<i20> for i20
 
impl BitOrAssign<i20> for i20
sourcefn bitor_assign(&mut self, rhs: Self)
 
fn bitor_assign(&mut self, rhs: Self)
Performs the |= operation. Read more
sourceimpl BitXorAssign<i20> for i20
 
impl BitXorAssign<i20> for i20
sourcefn bitxor_assign(&mut self, rhs: Self)
 
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^= operation. Read more
sourceimpl<'de> Deserialize<'de> for i20
 
impl<'de> Deserialize<'de> for i20
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 Num for i20
 
impl Num for i20
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 more
sourceimpl Ord for i20
 
impl Ord for i20
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 PartialEq<i20> for i20
 
impl PartialEq<i20> for i20
sourceimpl PartialOrd<i20> for i20
 
impl PartialOrd<i20> for i20
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
 
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
 
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
sourceimpl ShlAssign<usize> for i20
 
impl ShlAssign<usize> for i20
sourcefn shl_assign(&mut self, rhs: usize)
 
fn shl_assign(&mut self, rhs: usize)
Performs the <<= operation. Read more
sourceimpl ShrAssign<usize> for i20
 
impl ShrAssign<usize> for i20
sourcefn shr_assign(&mut self, rhs: usize)
 
fn shr_assign(&mut self, rhs: usize)
Performs the >>= operation. Read more
sourceimpl<P> ValidCheck<P> for i20
 
impl<P> ValidCheck<P> for i20
impl Copy for i20
impl Eq for i20
impl StructuralEq for i20
impl StructuralPartialEq for i20
Auto Trait Implementations
impl RefUnwindSafe for i20
impl Send for i20
impl Sync for i20
impl Unpin for i20
impl UnwindSafe for i20
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