[−][src]Struct coda::num::i4
The 4-bit signed integer type.
Implementations
impl i4
[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.
fn add(self, other: i4) -> i4
[src]
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.
fn bitand(self, rhs: &'a i4) -> Self::Output
[src]
impl<'a> BitAnd<&'a i4> for &'a i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the &
operator.
fn bitand(self, rhs: &'a i4) -> Self::Output
[src]
impl BitAnd<i4> for i4
[src]
type Output = i4
The resulting type after applying the &
operator.
fn bitand(self, rhs: i4) -> Self::Output
[src]
impl<'a> BitAnd<i4> for &'a i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the &
operator.
fn bitand(self, rhs: i4) -> Self::Output
[src]
impl BitAndAssign<i4> for i4
[src]
fn bitand_assign(&mut self, other: i4)
[src]
impl<'a> BitOr<&'a i4> for i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the |
operator.
fn bitor(self, rhs: &'a i4) -> Self::Output
[src]
impl<'a> BitOr<&'a i4> for &'a i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the |
operator.
fn bitor(self, rhs: &'a i4) -> Self::Output
[src]
impl BitOr<i4> for i4
[src]
type Output = i4
The resulting type after applying the |
operator.
fn bitor(self, rhs: i4) -> Self::Output
[src]
impl<'a> BitOr<i4> for &'a i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the |
operator.
fn bitor(self, rhs: i4) -> Self::Output
[src]
impl BitOrAssign<i4> for i4
[src]
fn bitor_assign(&mut self, other: i4)
[src]
impl<'a> BitXor<&'a i4> for i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: &'a i4) -> Self::Output
[src]
impl<'a> BitXor<&'a i4> for &'a i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: &'a i4) -> Self::Output
[src]
impl BitXor<i4> for i4
[src]
type Output = i4
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: i4) -> Self::Output
[src]
impl<'a> BitXor<i4> for &'a i4
[src]
type Output = <i4 as BitOr<i4>>::Output
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: i4) -> Self::Output
[src]
impl BitXorAssign<i4> for i4
[src]
fn bitxor_assign(&mut self, other: 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]
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.
fn div(self, rhs: Self) -> Self
[src]
impl Eq for i4
[src]
impl From<i8> for i4
[src]
impl Hash for i4
[src]
fn hash<H: Hasher>(&self, h: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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.
fn mul(self, rhs: Self) -> Self
[src]
impl Not for i4
[src]
impl<'a> Not for &'a i4
[src]
type Output = <i4 as Not>::Output
The resulting type after applying the !
operator.
fn not(self) -> i4
[src]
impl Octal for i4
[src]
impl Ord for i4
[src]
fn cmp(&self, other: &i4) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<i4> for i4
[src]
impl PartialOrd<i4> for i4
[src]
fn partial_cmp(&self, other: &i4) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> Shl<T> for i4 where
i8: Shl<T, Output = i8>,
[src]
i8: Shl<T, Output = i8>,
impl<T> ShlAssign<T> for i4 where
i8: ShlAssign<T>,
[src]
i8: ShlAssign<T>,
fn shl_assign(&mut self, rhs: T)
[src]
impl<T> Shr<T> for i4 where
i8: Shr<T, Output = i8>,
[src]
i8: Shr<T, Output = i8>,
impl<T> ShrAssign<T> for i4 where
i8: ShrAssign<T>,
[src]
i8: ShrAssign<T>,
fn shr_assign(&mut self, rhs: T)
[src]
impl Sub<i4> for i4
[src]
type Output = i4
The resulting type after applying the -
operator.
fn sub(self, other: i4) -> i4
[src]
impl UpperHex for i4
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,