[][src]Trait vecfx::VecFloatAs3D

pub trait VecFloatAs3D {
    fn as_3d(&self) -> &[[f64; 3]];
fn as_mut_3d(&mut self) -> &mut [[f64; 3]]; }

View a flat slice as nested 3D array

Panics

if the slice size is incorrect.

Required methods

fn as_3d(&self) -> &[[f64; 3]]

View &[f64] as &[[f64; 3]] without copying.

fn as_mut_3d(&mut self) -> &mut [[f64; 3]]

View &mut [f64] as &mut [[f64; 3]] without copying.

Loading content...

Implementations on Foreign Types

impl VecFloatAs3D for [f64][src]

Loading content...

Implementors

Loading content...