Trait slice_of_array::SliceNestExt [] [src]

pub trait SliceNestExt<T> {
    fn nest<V: IsSliceomorphic<Element = T>>(&self) -> &[V];
fn nest_mut<V: IsSliceomorphic<Element = T>>(&mut self) -> &mut [V]; }

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

Required Methods

View &[T] as &[[T;n]] without copying, panicking on bad input lengths.

View &mut [T] as &mut [[T;n]] without copying, panicking on bad input lengths.

Implementations on Foreign Types

impl<T> SliceNestExt<T> for [T]
[src]

[src]

[src]

Implementors