Trait rust_3d::traits::IsBuildableND [] [src]

pub trait IsBuildableND: Sized + IsND {
    fn new_nd(coords: &Vec<f64>) -> Result<Self>;
fn from_nd<P>(&mut self, other: P) -> Result<()>
    where
        P: IsBuildableND
; }

IsBuildableND is a trait used for types which are positioned in n-dimensional space and can be constructed

Required Methods

Should build an object from the correct number of coordinates

Should use the coordinates of another as its own

Implementors