[][src]Trait rust_3d::IsMergeable

pub trait IsMergeable {
    fn consume(&mut self, other: Self);
fn combine(&self, other: &Self) -> Self; }

IsMergeable trait used for types which can be merged with their own type

Required methods

fn consume(&mut self, other: Self)

Should merge other into this

fn combine(&self, other: &Self) -> Self

Should return a combination of this and other

Loading content...

Implementors

impl IsMergeable for BoundingBox2D[src]

impl IsMergeable for BoundingBox3D[src]

impl<P> IsMergeable for PointCloud2D<P> where
    P: Is2D + Clone
[src]

impl<P> IsMergeable for PointCloud3D<P> where
    P: Is3D + Clone
[src]

Loading content...