[][src]Struct coda::num::i4

pub struct i4(pub i8);

The 4-bit signed integer type.

Implementations

impl i4[src]

pub const MAX: Self[src]

pub const MIN: Self[src]

impl i4[src]

pub fn min_value() -> i4[src]

pub fn max_value() -> i4[src]

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

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

Trait Implementations

impl Add<i4> for i4[src]

type Output = i4

The resulting type after applying the + operator.

impl Binary for i4[src]

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

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

The resulting type after applying the & operator.

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

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

The resulting type after applying the & operator.

impl BitAnd<i4> for i4[src]

type Output = i4

The resulting type after applying the & operator.

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

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

The resulting type after applying the & operator.

impl BitAndAssign<i4> for i4[src]

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

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

The resulting type after applying the | operator.

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

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

The resulting type after applying the | operator.

impl BitOr<i4> for i4[src]

type Output = i4

The resulting type after applying the | operator.

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

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

The resulting type after applying the | operator.

impl BitOrAssign<i4> for i4[src]

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

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

The resulting type after applying the ^ operator.

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

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

The resulting type after applying the ^ operator.

impl BitXor<i4> for i4[src]

type Output = i4

The resulting type after applying the ^ operator.

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

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

The resulting type after applying the ^ operator.

impl BitXorAssign<i4> for i4[src]

impl Clone for i4[src]

impl Copy for i4[src]

impl Debug for i4[src]

impl Default for i4[src]

impl Deref for i4[src]

type Target = i8

The resulting type after dereferencing.

impl DerefMut for i4[src]

impl Display for i4[src]

impl Div<i4> for i4[src]

type Output = Self

The resulting type after applying the / operator.

impl Eq for i4[src]

impl From<i8> for i4[src]

impl Hash for i4[src]

impl Into<i8> for i4[src]

impl LowerHex for i4[src]

impl Mul<i4> for i4[src]

type Output = Self

The resulting type after applying the * operator.

impl Not for i4[src]

type Output = i4

The resulting type after applying the ! operator.

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

type Output = <i4 as Not>::Output

The resulting type after applying the ! operator.

impl Octal for i4[src]

impl Ord for i4[src]

impl PartialEq<i4> for i4[src]

impl PartialOrd<i4> for i4[src]

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

type Output = i4

The resulting type after applying the << operator.

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

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

type Output = i4

The resulting type after applying the >> operator.

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

impl Sub<i4> for i4[src]

type Output = i4

The resulting type after applying the - operator.

impl UpperHex for i4[src]

Auto Trait Implementations

impl RefUnwindSafe for i4

impl Send for i4

impl Sync for i4

impl Unpin for i4

impl UnwindSafe for i4

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.