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

Implementations on Foreign Types

impl<T> IsMovable2D for Vec<T> where
    T: IsMovable2D
[src]

[src]

impl<T> IsMovable2D for VecDeque<T> where
    T: IsMovable2D
[src]

[src]

impl<T> IsMovable2D for LinkedList<T> where
    T: IsMovable2D
[src]

[src]

Implementors