Unflatten

Trait Unflatten 

Source
pub trait Unflatten<M>
where M: ArraySize,
{ type Part; // Required method fn unflatten(self) -> Array<Self::Part, M>; }
Expand description

Defines a sequence that can be split into a sequence of smaller sequences of uniform size

Required Associated Types§

Required Methods§

Source

fn unflatten(self) -> Array<Self::Part, M>

Implementations on Foreign Types§

Source§

impl<'a, T, N, M> Unflatten<M> for &'a Array<T, N>
where T: Default, N: ArraySize + Div<M> + Rem<M, Output = U0>, M: ArraySize, Quot<N, M>: ArraySize,

Source§

type Part = &'a Array<T, <N as Div<M>>::Output>

Source§

fn unflatten(self) -> Array<Self::Part, M>

Source§

impl<T, N, M> Unflatten<M> for Array<T, N>
where T: Default, N: ArraySize + Div<M> + Rem<M, Output = U0>, M: ArraySize, Quot<N, M>: ArraySize,

Source§

type Part = Array<T, <N as Div<M>>::Output>

Source§

fn unflatten(self) -> Array<Self::Part, M>

Implementors§