[][src]Struct ggpf::game::meta::with_history::WithHistory

pub struct WithHistory<G: Base> {
    pub state: G,
    // some fields omitted
}

A game with its history.

Fields

state: G

Current game state.

Trait Implementations

impl<G: Base + Clone> Base for WithHistory<G>[src]

type Move = G::Move

The type for a Move. Read more

impl<G: Clone + Base> Clone for WithHistory<G>[src]

impl<G: Debug + Base> Debug for WithHistory<G>[src]

impl<G: Base + Eq> Eq for WithHistory<G>[src]

impl<G: Features + Clone + Sync + Send> Features for WithHistory<G>[src]

type StateDim = <G::StateDim as Dimension>::Larger

Type dimension of the game state feature space. Read more

type ActionDim = G::ActionDim

Type dimension of the action feature space. Read more

type Descriptor = (<G::StateDim as Dimension>::Larger, G::Descriptor)

Game features descriptor, that can be used to retrieve dimensions without having access to a game instance. Read more

impl<G: Game + Clone + Sync + Send> Game for WithHistory<G>[src]

type Player = G::Player

The type representing each player. Read more

impl<G: Base + Hash> Hash for WithHistory<G>[src]

impl<G: Base + PartialEq> PartialEq<WithHistory<G>> for WithHistory<G>[src]

impl<G: Playable + Clone + Sync + Send> Playable for WithHistory<G>[src]

impl<G: SingleWinner + Clone + Sync + Send> SingleWinner for WithHistory<G>[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for WithHistory<G> where
    G: RefUnwindSafe

impl<G> Send for WithHistory<G>

impl<G> Sync for WithHistory<G>

impl<G> Unpin for WithHistory<G> where
    G: Unpin

impl<G> UnwindSafe for WithHistory<G> where
    G: RefUnwindSafe + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T

impl<G> Game for G where
    G: Singleplayer
[src]

type Player = u8

The type representing each player. Read more

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 

impl<G> Playout for G where
    G: Game + Clone + Send
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> With for T