pub unsafe trait Flatten<T, N, M>: GenericSequence<GenericArray<T, N>, Length = M>where
N: ArrayLength + Mul<M>,
Prod<N, M>: ArrayLength,
{
type Output: GenericSequence<T, Length = Prod<N, M>>;
// Required method
fn flatten(self) -> Self::Output;
}Expand description
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.