[][src]Trait vec_dimension_shift::VecDimensionShift3D

pub trait VecDimensionShift3D<T> {
    fn as_3d_array_no_check(self) -> Vec<[T; 3]>;
fn to_3d_array_no_check(&self) -> Vec<[T; 3]>;
fn as_3d_array(self) -> Result<Vec<[T; 3]>, Vec<T>>;
fn to_3d_array(&self) -> Result<Vec<[T; 3]>, &Vec<T>>;
fn as_3d_array_truncate(self) -> Vec<[T; 3]>;
fn to_3d_array_truncate(&mut self) -> Vec<[T; 3]>;
fn as_3d_array_padding(self, v: T) -> Vec<[T; 3]>;
fn to_3d_array_padding(&mut self, v: T) -> Vec<[T; 3]>; }

Required methods

fn as_3d_array_no_check(self) -> Vec<[T; 3]>

fn to_3d_array_no_check(&self) -> Vec<[T; 3]>

fn as_3d_array(self) -> Result<Vec<[T; 3]>, Vec<T>>

fn to_3d_array(&self) -> Result<Vec<[T; 3]>, &Vec<T>>

fn as_3d_array_truncate(self) -> Vec<[T; 3]>

fn to_3d_array_truncate(&mut self) -> Vec<[T; 3]>

fn as_3d_array_padding(self, v: T) -> Vec<[T; 3]>

fn to_3d_array_padding(&mut self, v: T) -> Vec<[T; 3]>

Loading content...

Implementations on Foreign Types

impl<T: Clone + Default> VecDimensionShift3D<T> for Vec<T>[src]

Loading content...

Implementors

Loading content...