Trait IsSortable2D

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

IsSortable2D trait used for collections which can be sorted by x or y

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

Implementors§

Source§

impl<P> IsSortable2D for PointCloud2D<P>
where P: Is2D,