[][src]Struct coda::num::i2

pub struct i2(pub i8);

The 2-bit signed integer type.

Implementations

impl i2[src]

pub const MAX: Self[src]

pub const MIN: Self[src]

impl i2[src]

pub fn min_value() -> i2[src]

pub fn max_value() -> i2[src]

pub fn wrapping_sub(self, rhs: Self) -> Self[src]

pub fn wrapping_add(self, rhs: Self) -> Self[src]

Trait Implementations

impl Add<i2> for i2[src]

type Output = i2

The resulting type after applying the + operator.

impl Binary for i2[src]

impl<'a> BitAnd<&'a i2> for i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the & operator.

impl<'a> BitAnd<&'a i2> for &'a i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the & operator.

impl BitAnd<i2> for i2[src]

type Output = i2

The resulting type after applying the & operator.

impl<'a> BitAnd<i2> for &'a i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the & operator.

impl BitAndAssign<i2> for i2[src]

impl<'a> BitOr<&'a i2> for i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the | operator.

impl<'a> BitOr<&'a i2> for &'a i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the | operator.

impl BitOr<i2> for i2[src]

type Output = i2

The resulting type after applying the | operator.

impl<'a> BitOr<i2> for &'a i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the | operator.

impl BitOrAssign<i2> for i2[src]

impl<'a> BitXor<&'a i2> for i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the ^ operator.

impl<'a> BitXor<&'a i2> for &'a i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the ^ operator.

impl BitXor<i2> for i2[src]

type Output = i2

The resulting type after applying the ^ operator.

impl<'a> BitXor<i2> for &'a i2[src]

type Output = <i2 as BitOr<i2>>::Output

The resulting type after applying the ^ operator.

impl BitXorAssign<i2> for i2[src]

impl Clone for i2[src]

impl Copy for i2[src]

impl Debug for i2[src]

impl Default for i2[src]

impl Deref for i2[src]

type Target = i8

The resulting type after dereferencing.

impl DerefMut for i2[src]

impl Display for i2[src]

impl Div<i2> for i2[src]

type Output = Self

The resulting type after applying the / operator.

impl Eq for i2[src]

impl From<i8> for i2[src]

impl Hash for i2[src]

impl Into<i8> for i2[src]

impl LowerHex for i2[src]

impl Mul<i2> for i2[src]

type Output = Self

The resulting type after applying the * operator.

impl Not for i2[src]

type Output = i2

The resulting type after applying the ! operator.

impl<'a> Not for &'a i2[src]

type Output = <i2 as Not>::Output

The resulting type after applying the ! operator.

impl Octal for i2[src]

impl Ord for i2[src]

impl PartialEq<i2> for i2[src]

impl PartialOrd<i2> for i2[src]

impl<T> Shl<T> for i2 where
    i8: Shl<T, Output = i8>, 
[src]

type Output = i2

The resulting type after applying the << operator.

impl<T> ShlAssign<T> for i2 where
    i8: ShlAssign<T>, 
[src]

impl<T> Shr<T> for i2 where
    i8: Shr<T, Output = i8>, 
[src]

type Output = i2

The resulting type after applying the >> operator.

impl<T> ShrAssign<T> for i2 where
    i8: ShrAssign<T>, 
[src]

impl Sub<i2> for i2[src]

type Output = i2

The resulting type after applying the - operator.

impl UpperHex for i2[src]

Auto Trait Implementations

impl RefUnwindSafe for i2

impl Send for i2

impl Sync for i2

impl Unpin for i2

impl UnwindSafe for i2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.