pub enum MovementDirection {
Same,
Opposite,
}
Variants§
Trait Implementations§
Source§impl Clone for MovementDirection
impl Clone for MovementDirection
Source§fn clone(&self) -> MovementDirection
fn clone(&self) -> MovementDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MovementDirection
impl Debug for MovementDirection
Source§impl Display for MovementDirection
impl Display for MovementDirection
impl Copy for MovementDirection
Auto Trait Implementations§
impl Freeze for MovementDirection
impl RefUnwindSafe for MovementDirection
impl Send for MovementDirection
impl Sync for MovementDirection
impl Unpin for MovementDirection
impl UnwindSafe for MovementDirection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more