[−][src]Struct typenum::array::ATerm
The terminating type for type arrays.
Trait Implementations
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<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 PartialEq<ATerm> for ATerm
[src]
impl PartialEq<ATerm> 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
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for ATerm
[src]
impl Eq for ATerm
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<ATerm> for ATerm
[src]
impl PartialOrd<ATerm> 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
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
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
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
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 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<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> 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 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 Neg for ATerm
[src]
impl Neg for ATerm
type Output = ATerm
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
fn neg(self) -> Self::Output
Performs the unary -
operation.
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 Copy for ATerm
[src]
impl Copy for ATerm
impl Clone for ATerm
[src]
impl Clone for ATerm
Auto Trait Implementations
Blanket Implementations
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self
impl<M, N> PartialDiv for M where
M: Integer + Div<N> + Rem<N, Output = Z0>,
[src]
impl<M, N> PartialDiv for M where
M: Integer + Div<N> + Rem<N, Output = Z0>,
type Output = <M as Div<N>>::Output
The type of the result of the division
fn partial_div(Self, N) -> <M as PartialDiv<N>>::Output
[src]
fn partial_div(Self, N) -> <M as PartialDiv<N>>::Output
Method for performing the division
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more