Trait ml_dsa::util::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,

§

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,

§

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

source§

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

Implementors§