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

View a flat slice as nested 3D array

Panics

if the slice size is incorrect.

Required methods

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

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

Implementations on Foreign Types

Implementors