Trait IsSortable3D

Source
pub trait IsSortable3D: IsSortableND {
    // Required methods
    fn sort_x(&mut self);
    fn sort_y(&mut self);
    fn sort_z(&mut self);
}
Expand description

IsSortable3D trait used for collections which can be sorted by x,y or z

Required Methods§

Source

fn sort_x(&mut self)

Should sort all elements by x

Source

fn sort_y(&mut self)

Should sort all elements by y

Source

fn sort_z(&mut self)

Should sort all elements by z

Implementors§

Source§

impl<P> IsSortable3D for PointCloud3D<P>
where P: Is3D,