[−][src]Struct coda::num::u4
The 4-bit unsigned integer type.
Implementations
impl u4
[src]
impl u4
[src]
pub fn min_value() -> u4
[src]
pub fn max_value() -> u4
[src]
pub fn wrapping_sub(self, rhs: Self) -> Self
[src]
pub fn wrapping_add(self, rhs: Self) -> Self
[src]
Trait Implementations
impl Add<u4> for u4
[src]
type Output = u4
The resulting type after applying the +
operator.
fn add(self, other: u4) -> u4
[src]
impl Binary for u4
[src]
impl<'a> BitAnd<&'a u4> for u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the &
operator.
fn bitand(self, rhs: &'a u4) -> Self::Output
[src]
impl<'a> BitAnd<&'a u4> for &'a u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the &
operator.
fn bitand(self, rhs: &'a u4) -> Self::Output
[src]
impl BitAnd<u4> for u4
[src]
type Output = u4
The resulting type after applying the &
operator.
fn bitand(self, rhs: u4) -> Self::Output
[src]
impl<'a> BitAnd<u4> for &'a u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the &
operator.
fn bitand(self, rhs: u4) -> Self::Output
[src]
impl BitAndAssign<u4> for u4
[src]
fn bitand_assign(&mut self, other: u4)
[src]
impl<'a> BitOr<&'a u4> for u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the |
operator.
fn bitor(self, rhs: &'a u4) -> Self::Output
[src]
impl<'a> BitOr<&'a u4> for &'a u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the |
operator.
fn bitor(self, rhs: &'a u4) -> Self::Output
[src]
impl BitOr<u4> for u4
[src]
type Output = u4
The resulting type after applying the |
operator.
fn bitor(self, rhs: u4) -> Self::Output
[src]
impl<'a> BitOr<u4> for &'a u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the |
operator.
fn bitor(self, rhs: u4) -> Self::Output
[src]
impl BitOrAssign<u4> for u4
[src]
fn bitor_assign(&mut self, other: u4)
[src]
impl<'a> BitXor<&'a u4> for u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: &'a u4) -> Self::Output
[src]
impl<'a> BitXor<&'a u4> for &'a u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: &'a u4) -> Self::Output
[src]
impl BitXor<u4> for u4
[src]
type Output = u4
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: u4) -> Self::Output
[src]
impl<'a> BitXor<u4> for &'a u4
[src]
type Output = <u4 as BitOr<u4>>::Output
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: u4) -> Self::Output
[src]
impl BitXorAssign<u4> for u4
[src]
fn bitxor_assign(&mut self, other: u4)
[src]
impl Clone for u4
[src]
impl Copy for u4
[src]
impl Debug for u4
[src]
impl Default for u4
[src]
impl Deref for u4
[src]
impl DerefMut for u4
[src]
impl Display for u4
[src]
impl Div<u4> for u4
[src]
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: Self) -> Self
[src]
impl Eq for u4
[src]
impl From<i8> for u4
[src]
impl Hash for u4
[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 u4
[src]
impl LowerHex for u4
[src]
impl Mul<u4> for u4
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self
[src]
impl Not for u4
[src]
impl<'a> Not for &'a u4
[src]
type Output = <u4 as Not>::Output
The resulting type after applying the !
operator.
fn not(self) -> u4
[src]
impl Octal for u4
[src]
impl Ord for u4
[src]
fn cmp(&self, other: &u4) -> 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<u4> for u4
[src]
impl PartialOrd<u4> for u4
[src]
fn partial_cmp(&self, other: &u4) -> 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 u4 where
i8: Shl<T, Output = i8>,
[src]
i8: Shl<T, Output = i8>,
impl<T> ShlAssign<T> for u4 where
i8: ShlAssign<T>,
[src]
i8: ShlAssign<T>,
fn shl_assign(&mut self, rhs: T)
[src]
impl<T> Shr<T> for u4 where
i8: Shr<T, Output = i8>,
[src]
i8: Shr<T, Output = i8>,
impl<T> ShrAssign<T> for u4 where
i8: ShrAssign<T>,
[src]
i8: ShrAssign<T>,
fn shr_assign(&mut self, rhs: T)
[src]
impl Sub<u4> for u4
[src]
type Output = u4
The resulting type after applying the -
operator.
fn sub(self, other: u4) -> u4
[src]
impl UpperHex for u4
[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>,