Struct direction::CardinalDirections
source · pub struct CardinalDirections;
Expand description
Represents a collection of the respectively-named type of direction
Trait Implementations
sourceimpl Clone for CardinalDirections
impl Clone for CardinalDirections
sourcefn clone(&self) -> CardinalDirections
fn clone(&self) -> CardinalDirections
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CardinalDirections
impl Debug for CardinalDirections
sourceimpl IntoIterator for CardinalDirections
impl IntoIterator for CardinalDirections
type Item = CardinalDirection
type Item = CardinalDirection
The type of the elements being iterated over.
type IntoIter = CardinalDirectionIter
type IntoIter = CardinalDirectionIter
Which kind of iterator are we turning this into?
impl Copy for CardinalDirections
Auto Trait Implementations
impl RefUnwindSafe for CardinalDirections
impl Send for CardinalDirections
impl Sync for CardinalDirections
impl Unpin for CardinalDirections
impl UnwindSafe for CardinalDirections
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more