Enum mold2d::sprite::Direction [] [src]

pub enum Direction {
    Left,
    Right,
}

The direction that a sprite is facing

Variants

Trait Implementations

impl Clone for Direction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Direction
[src]

impl PartialEq for Direction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Direction
[src]

impl Debug for Direction
[src]

Formats the value using the given formatter.

impl Hash for Direction
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more