pub enum Dir2d {
Up,
Down,
Left,
Right,
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for Dir2d
impl Ord for Dir2d
source§impl PartialEq<Dir2d> for Dir2d
impl PartialEq<Dir2d> for Dir2d
source§impl PartialOrd<Dir2d> for Dir2d
impl PartialOrd<Dir2d> for Dir2d
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Dir2d
impl Eq for Dir2d
impl StructuralEq for Dir2d
impl StructuralPartialEq for Dir2d
Auto Trait Implementations§
impl RefUnwindSafe for Dir2d
impl Send for Dir2d
impl Sync for Dir2d
impl Unpin for Dir2d
impl UnwindSafe for Dir2d
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