Struct gomoku_core::Directions [] [src]

pub struct Directions<T>(_);

Represent all the 8 directions. The only way to create a Direction is from a [T; 8].

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