Trait typenum::type_operators::Len [−][src]
A type operator that gives the length of an Array
or the number of bits in a UInt
.
Associated Types
Loading content...Required methods
fn len(&self) -> Self::Output
[src]
This function isn’t used in this crate, but may be useful for others.
Implementors
impl Len for ATerm
[src]
Length of ATerm
by itself is 0
impl Len for UTerm
[src]
Length of UTerm
by itself is 0
impl<U: Unsigned, B: Bit> Len for UInt<U, B> where
U: Len,
Length<U>: Add<B1>,
Add1<Length<U>>: Unsigned,
[src]
U: Len,
Length<U>: Add<B1>,
Add1<Length<U>>: Unsigned,
Length of a bit is 1
impl<V, A> Len for TArr<V, A> where
A: Len,
Length<A>: Add<B1>,
Sum<Length<A>, B1>: Unsigned,
[src]
A: Len,
Length<A>: Add<B1>,
Sum<Length<A>, B1>: Unsigned,
Size of a TypeArray