[][src]Trait vec_dimension_shift::VecDimensionShift4D

pub trait VecDimensionShift4D<T> {
    fn as_4d_array_no_check(self) -> Vec<[T; 4]>;
fn to_4d_array_no_check(&self) -> Vec<[T; 4]>;
fn as_4d_array(self) -> Result<Vec<[T; 4]>, Vec<T>>;
fn to_4d_array(&self) -> Result<Vec<[T; 4]>, &Vec<T>>;
fn as_4d_array_truncate(self) -> Vec<[T; 4]>;
fn to_4d_array_truncate(&mut self) -> Vec<[T; 4]>;
fn as_4d_array_padding(self, v: T) -> Vec<[T; 4]>;
fn to_4d_array_padding(&mut self, v: T) -> Vec<[T; 4]>; }

Required methods

fn as_4d_array_no_check(self) -> Vec<[T; 4]>

fn to_4d_array_no_check(&self) -> Vec<[T; 4]>

fn as_4d_array(self) -> Result<Vec<[T; 4]>, Vec<T>>

fn to_4d_array(&self) -> Result<Vec<[T; 4]>, &Vec<T>>

fn as_4d_array_truncate(self) -> Vec<[T; 4]>

fn to_4d_array_truncate(&mut self) -> Vec<[T; 4]>

fn as_4d_array_padding(self, v: T) -> Vec<[T; 4]>

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

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

Loading content...