Struct gameai::game::ValidMove
[−]
[src]
pub struct ValidMove<G: Game> { /* fields omitted */ }
Methods
impl<G: Game> ValidMove<G>
[src]
fn valid_move(&self) -> &G::Move
[src]
fn apply(self) -> G
[src]
Trait Implementations
impl<G: Hash + Game> Hash for ValidMove<G> where
G::Move: Hash,
[src]
G::Move: Hash,
fn hash<__HG: Hasher>(&self, __arg_0: &mut __HG)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<G: Clone + Game> Clone for ValidMove<G> where
G::Move: Clone,
[src]
G::Move: Clone,