Trait sized_chunks::types::ChunkLength[][src]

pub trait ChunkLength<A>: Unsigned {
    type SizedType;
}

A trait used to decide the size of an array.

<N as ChunkLength<A>>::SizedType for a type level integer N will have the same size as [A; N].

Associated Types

type SizedType[src]

A Sized type matching the size of an array of Self elements of A.

Loading content...

Implementations on Foreign Types

impl<A> ChunkLength<A> for UTerm[src]

type SizedType = ()

impl<A, N> ChunkLength<A> for UInt<N, B0> where
    N: ChunkLength<A>, 
[src]

type SizedType = SizeEven<A, N::SizedType>

impl<A, N> ChunkLength<A> for UInt<N, B1> where
    N: ChunkLength<A>, 
[src]

type SizedType = SizeOdd<A, N::SizedType>

Loading content...

Implementors

Loading content...