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