Struct harmony::Stone [] [src]

pub struct Stone<'a> {
    pub owner: &'a Player,
    pub state: PlayState,
}

Fields

Methods from Deref<Target = Player>

Trait Implementations

impl<'a> Debug for Stone<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Stone<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Eq for Stone<'a>
[src]

impl<'a> PartialEq for Stone<'a>
[src]

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

This method tests for !=.

impl<'a> Hash for Stone<'a>
[src]

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

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

impl<'a> Deref for Stone<'a>
[src]

The resulting type after dereferencing

The method called to dereference a value