Trait rust_3d::traits::IsMovable2D [] [src]

pub trait IsMovable2D {
    fn move_by(&mut self, x: f64, y: f64);
}

IsMovable2D is a trait used for types within 2D space which can be moved

Required Methods

Should move the object by the given offset

Implementors