Enum direction::Direction [−][src]
#[repr(u8)] pub enum Direction { North, NorthEast, East, SouthEast, South, SouthWest, West, NorthWest, }
Variants
Implementations
pub const fn all() -> DirectionIterⓘNotable traits for DirectionIterimpl Iterator for DirectionIter type Item = Direction;
Notable traits for DirectionIter
impl Iterator for DirectionIter type Item = Direction;
Trait Implementations
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Direction
impl UnwindSafe for Direction
Blanket Implementations
Mutably borrows from an owned value. Read more