Struct gomoku_core::Directions [] [src]

pub struct Directions<T>(_);

Represent all the 8 possible directions to construct a Direction type you need to create it from a [T; 8] (top, top_right, right, bot_right, bot, bot_left, left, top_left)

Methods

impl<T> Directions<T>
[src]

Trait Implementations

impl<T: Debug> Debug for Directions<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for Directions<T>
[src]

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

This method tests for !=.

impl<T> From<[T; 8]> for Directions<T>
[src]

Performs the conversion.

impl<T> Deref for Directions<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for Directions<T>
[src]

The method called to mutably dereference a value