Trait ml_dsa::util::Flatten

source ·
pub trait Flatten<T, M: ArraySize> {
    type OutputSize: ArraySize;

    // Required method
    fn flatten(self) -> Array<T, Self::OutputSize>;
}
Expand description

Defines a sequence of sequences that can be merged into a bigger overall seequence

Required Associated Types§

Required Methods§

source

fn flatten(self) -> Array<T, Self::OutputSize>

Implementations on Foreign Types§

source§

impl<T, N, M> Flatten<T, <M as Mul<N>>::Output> for Array<Array<T, M>, N>
where N: ArraySize, M: ArraySize + Mul<N>, Prod<M, N>: ArraySize,

§

type OutputSize = <M as Mul<N>>::Output

source§

fn flatten(self) -> Array<T, Self::OutputSize>

Implementors§