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

Should merge other into this

Should return a combination of this and other

Implementors