Trait slice_of_array::SliceFlatExt [] [src]

pub trait SliceFlatExt<T> {
    fn flat(&self) -> &[T];
fn flat_mut(&mut self) -> &mut [T]; }

Trait for viewing a slice of arrays as a flat slice, without copying.

Required Methods

View &[[T; n]] as &[T]

View &mut [[T; n]] as &mut [T]

Implementations on Foreign Types

impl<V: IsSliceomorphic> SliceFlatExt<V::Element> for [V]
[src]

[src]

[src]

Implementors