Trait slice_of_array::SliceFlatExt [−][src]
Permits viewing a slice of arrays as a flat slice.
Implementors
The methods are available on &[[T; n]]
and &mut [[T; n]]
for all T
, and 1 <= n <= 128
(and a couple other sizes).
Of course, they are also available on Vec<[T; n]>
and any
other type that derefs or unsizes to [[T; n]]
.
Notice
The existence of this trait is an implementation detail.
Please do NOT use this trait as a generic bound in your code.
Required methods
fn flat(&self) -> &[T]
[src]
View &[[T; n]]
as &[T]
.
fn flat_mut(&mut self) -> &mut [T]
[src]
View &mut [[T; n]]
as &mut [T]
Implementations on Foreign Types
impl<V: IsSliceomorphic> SliceFlatExt<<V as IsSliceomorphic>::Element> for [V]
[src]
impl<V: IsSliceomorphic> SliceFlatExt<<V as IsSliceomorphic>::Element> for [V]
[src]