Struct typenum::array::ATerm [−][src]
pub struct ATerm;
The terminating type for type arrays.
Trait Implementations
impl Eq for ATerm
[src]
impl Eq for ATerm
impl PartialEq for ATerm
[src]
impl PartialEq for ATerm
fn eq(&self, other: &ATerm) -> bool
[src]
fn eq(&self, other: &ATerm) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Ord for ATerm
[src]
impl Ord for ATerm
fn cmp(&self, other: &ATerm) -> Ordering
[src]
fn cmp(&self, other: &ATerm) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for ATerm
[src]
impl PartialOrd for ATerm
fn partial_cmp(&self, other: &ATerm) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &ATerm) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
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
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Clone for ATerm
[src]
impl Clone for ATerm
fn clone(&self) -> ATerm
[src]
fn clone(&self) -> ATerm
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ATerm
[src]
impl Copy for ATerm
impl Hash for ATerm
[src]
impl Hash for ATerm
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for ATerm
[src]
impl Debug for ATerm
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl TypeArray for ATerm
[src]
impl TypeArray for ATerm
impl Len for ATerm
[src]
impl Len for ATerm
Length of ATerm
by itself is 0
type Output = U0
The length as a type-level unsigned integer.
fn len(&self) -> Self::Output
[src]
fn len(&self) -> Self::Output
This function isn't used in this crate, but may be useful for others.
impl Add<ATerm> for ATerm
[src]
impl Add<ATerm> for ATerm
type Output = ATerm
The resulting type after applying the +
operator.
fn add(self, _: ATerm) -> Self::Output
[src]
fn add(self, _: ATerm) -> Self::Output
Performs the +
operation.
impl Sub<ATerm> for ATerm
[src]
impl Sub<ATerm> for ATerm
type Output = ATerm
The resulting type after applying the -
operator.
fn sub(self, _: ATerm) -> Self::Output
[src]
fn sub(self, _: ATerm) -> Self::Output
Performs the -
operation.
impl<Rhs> Mul<Rhs> for ATerm
[src]
impl<Rhs> Mul<Rhs> for ATerm
type Output = ATerm
The resulting type after applying the *
operator.
fn mul(self, _: Rhs) -> Self::Output
[src]
fn mul(self, _: Rhs) -> Self::Output
Performs the *
operation.
impl Mul<ATerm> for Z0
[src]
impl Mul<ATerm> for Z0
type Output = ATerm
The resulting type after applying the *
operator.
fn mul(self, _: ATerm) -> Self::Output
[src]
fn mul(self, _: ATerm) -> Self::Output
Performs the *
operation.
impl<U> Mul<ATerm> for PInt<U> where
U: Unsigned + NonZero,
[src]
impl<U> Mul<ATerm> for PInt<U> where
U: Unsigned + NonZero,
type Output = ATerm
The resulting type after applying the *
operator.
fn mul(self, _: ATerm) -> Self::Output
[src]
fn mul(self, _: ATerm) -> Self::Output
Performs the *
operation.
impl<U> Mul<ATerm> for NInt<U> where
U: Unsigned + NonZero,
[src]
impl<U> Mul<ATerm> for NInt<U> where
U: Unsigned + NonZero,
type Output = ATerm
The resulting type after applying the *
operator.
fn mul(self, _: ATerm) -> Self::Output
[src]
fn mul(self, _: ATerm) -> Self::Output
Performs the *
operation.
impl<Rhs> Div<Rhs> for ATerm
[src]
impl<Rhs> Div<Rhs> for ATerm
type Output = ATerm
The resulting type after applying the /
operator.
fn div(self, _: Rhs) -> Self::Output
[src]
fn div(self, _: Rhs) -> Self::Output
Performs the /
operation.
impl<Rhs> PartialDiv<Rhs> for ATerm
[src]
impl<Rhs> PartialDiv<Rhs> for ATerm
type Output = ATerm
The type of the result of the division
fn partial_div(self, _: Rhs) -> Self::Output
[src]
fn partial_div(self, _: Rhs) -> Self::Output
Method for performing the division
impl<Rhs> Rem<Rhs> for ATerm
[src]
impl<Rhs> Rem<Rhs> for ATerm
type Output = ATerm
The resulting type after applying the %
operator.
fn rem(self, _: Rhs) -> Self::Output
[src]
fn rem(self, _: Rhs) -> Self::Output
Performs the %
operation.
impl Neg for ATerm
[src]
impl Neg for ATerm