pub enum Direction2D {
Left,
Right,
Up,
Down,
}Variants§
Trait Implementations§
Source§impl Clone for Direction2D
impl Clone for Direction2D
Source§fn clone(&self) -> Direction2D
fn clone(&self) -> Direction2D
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Direction2D
impl Debug for Direction2D
impl Copy for Direction2D
Auto Trait Implementations§
impl Freeze for Direction2D
impl RefUnwindSafe for Direction2D
impl Send for Direction2D
impl Sync for Direction2D
impl Unpin for Direction2D
impl UnwindSafe for Direction2D
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