Struct typenum::array::TArr [−][src]
pub struct TArr<V, A> { /* fields omitted */ }Expand description
TArr is a type that acts as an array of types. It is defined similarly to UInt, only its
values can be more than bits, and it is designed to act as an array. So you can only add two if
they have the same number of elements, for example.
This array is only really designed to contain Integer types. If you use it with others, you
may find it lacking functionality.
Trait Implementations
impl<V, A> Len for TArr<V, A> where
A: Len,
Length<A>: Add<B1>,
Sum<Length<A>, B1>: Unsigned, [src]
impl<V, A> Len for TArr<V, A> where
A: Len,
Length<A>: Add<B1>,
Sum<Length<A>, B1>: Unsigned, [src]Size of a TypeArray
impl<V, A, U> Mul<TArr<V, A>> for PInt<U> where
U: Unsigned + NonZero,
PInt<U>: Mul<A> + Mul<V>, [src]
impl<V, A, U> Mul<TArr<V, A>> for PInt<U> where
U: Unsigned + NonZero,
PInt<U>: Mul<A> + Mul<V>, [src]impl<V, A, U> Mul<TArr<V, A>> for NInt<U> where
U: Unsigned + NonZero,
NInt<U>: Mul<A> + Mul<V>, [src]
impl<V, A, U> Mul<TArr<V, A>> for NInt<U> where
U: Unsigned + NonZero,
NInt<U>: Mul<A> + Mul<V>, [src]impl<V: Ord, A: Ord> Ord for TArr<V, A>[src]
impl<V: Ord, A: Ord> Ord for TArr<V, A>[src]impl<V, A, Rhs> PartialDiv<Rhs> for TArr<V, A> where
V: PartialDiv<Rhs>,
A: PartialDiv<Rhs>, [src]
impl<V, A, Rhs> PartialDiv<Rhs> for TArr<V, A> where
V: PartialDiv<Rhs>,
A: PartialDiv<Rhs>, [src]type Output = TArr<PartialQuot<V, Rhs>, PartialQuot<A, Rhs>>
type Output = TArr<PartialQuot<V, Rhs>, PartialQuot<A, Rhs>>The type of the result of the division
fn partial_div(self, _: Rhs) -> Self::Output[src]
fn partial_div(self, _: Rhs) -> Self::Output[src]Method for performing the division
impl<V: PartialOrd, A: PartialOrd> PartialOrd<TArr<V, A>> for TArr<V, A>[src]
impl<V: PartialOrd, A: PartialOrd> PartialOrd<TArr<V, A>> for TArr<V, A>[src]fn partial_cmp(&self, other: &TArr<V, A>) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &TArr<V, A>) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<V: Copy, A: Copy> Copy for TArr<V, A>[src]
impl<V: Eq, A: Eq> Eq for TArr<V, A>[src]
impl<V, A> StructuralEq for TArr<V, A>[src]
impl<V, A> StructuralPartialEq for TArr<V, A>[src]
impl<V, A> TypeArray for TArr<V, A>[src]
Auto Trait Implementations
impl<V, A> Send for TArr<V, A> where
A: Send,
V: Send,
A: Send,
V: Send,
impl<V, A> Sync for TArr<V, A> where
A: Sync,
V: Sync,
A: Sync,
V: Sync,
impl<V, A> Unpin for TArr<V, A> where
A: Unpin,
V: Unpin,
A: Unpin,
V: Unpin,