Enum direction::OrdinalDirection [−][src]
#[repr(u8)] pub enum OrdinalDirection { NorthEast, SouthEast, SouthWest, NorthWest, }
Variants
Implementations
pub const fn all() -> OrdinalDirectionIterⓘNotable traits for OrdinalDirectionIterimpl Iterator for OrdinalDirectionIter type Item = OrdinalDirection;
Notable traits for OrdinalDirectionIter
impl Iterator for OrdinalDirectionIter type Item = OrdinalDirection;
pub const fn all_directions() -> DirectionOrdinalIterⓘNotable traits for DirectionOrdinalIterimpl Iterator for DirectionOrdinalIter type Item = Direction;
Notable traits for DirectionOrdinalIter
impl Iterator for DirectionOrdinalIter type Item = Direction;
Trait Implementations
Performs the conversion.
Performs the mutable indexing (container[index]
) operation. Read more
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 OrdinalDirection
impl Send for OrdinalDirection
impl Sync for OrdinalDirection
impl Unpin for OrdinalDirection
impl UnwindSafe for OrdinalDirection
Blanket Implementations
Mutably borrows from an owned value. Read more