Trait rust_3d::traits::IsMergeable
[−]
[src]
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
Implementors
impl<P> IsMergeable for PointCloud2D<P> where
P: Is2D + Clone,impl<P> IsMergeable for PointCloud3D<P> where
P: Is3D + Clone,