Struct typenum::array::TArr [−][src]
pub struct TArr<V, A> { /* fields omitted */ }
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: Clone, A: Clone> Clone for TArr<V, A>
[src]
impl<V: Clone, A: Clone> Clone for TArr<V, A>
[src]fn clone(&self) -> TArr<V, A>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
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, A, Rhs> PartialDiv<Rhs> for TArr<V, A> where
V: PartialDiv<Rhs>,
A: PartialDiv<Rhs>,
Rhs: Copy,
[src]
impl<V, A, Rhs> PartialDiv<Rhs> for TArr<V, A> where
V: PartialDiv<Rhs>,
A: PartialDiv<Rhs>,
Rhs: Copy,
[src]type Output = TArr<PartialQuot<V, Rhs>, PartialQuot<A, Rhs>>
The type of the result of the division
fn partial_div(self, rhs: Rhs) -> Self::Output
[src]
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]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,