Enum micro_games_kit::pcg::GridDirection
source · pub enum GridDirection {
North,
NorthEast,
East,
SouthEast,
South,
SouthWest,
West,
NorthWest,
}Variants§
Trait Implementations§
source§impl Clone for GridDirection
impl Clone for GridDirection
source§fn clone(&self) -> GridDirection
fn clone(&self) -> GridDirection
Returns a copy 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 GridDirection
impl Debug for GridDirection
source§impl PartialEq for GridDirection
impl PartialEq for GridDirection
source§fn eq(&self, other: &GridDirection) -> bool
fn eq(&self, other: &GridDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for GridDirection
impl Eq for GridDirection
impl StructuralEq for GridDirection
impl StructuralPartialEq for GridDirection
Auto Trait Implementations§
impl RefUnwindSafe for GridDirection
impl Send for GridDirection
impl Sync for GridDirection
impl Unpin for GridDirection
impl UnwindSafe for GridDirection
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.