Enum advent_solutions::Direction [] [src]

pub enum Direction {
    Up,
    Right,
    Down,
    Left,
}

Variants

Methods

impl Direction
[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for Direction
[src]

impl Clone for Direction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Direction
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Direction
[src]

impl Debug for Direction
[src]

[src]

Formats the value using the given formatter. Read more

impl Hash for Direction
[src]

[src]

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

1.3.0
[src]

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

impl Into<(isize, isize)> for Direction
[src]

[src]

Performs the conversion.

impl<'a> Into<(isize, isize)> for &'a Direction
[src]

[src]

Performs the conversion.

impl Add<(isize, isize)> for Direction
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<(isize, isize)> for &'a Direction
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<(usize, usize)> for Direction
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<(usize, usize)> for &'a Direction
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Direction> for (isize, isize)
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Direction> for (isize, isize)
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Add<Direction> for (usize, usize)
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<'a> Add<&'a Direction> for (usize, usize)
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl AddAssign<Direction> for (isize, isize)
[src]

[src]

Performs the += operation.

impl<'a> AddAssign<&'a Direction> for (isize, isize)
[src]

[src]

Performs the += operation.

impl AddAssign<Direction> for (usize, usize)
[src]

[src]

Performs the += operation.

impl<'a> AddAssign<&'a Direction> for (usize, usize)
[src]

[src]

Performs the += operation.