[][src]Enum ggpf::settings::Game

pub enum Game {
    Breakthrough {
        history: Option<usize>,
        size: usize,
    },
    Gym {
        history: Option<usize>,
        name: String,
        remote: String,
    },
}

Possible games and their associated options.

Variants

Breakthrough

Breakthrough

Fields of Breakthrough

history: Option<usize>

History length.

size: usize

Board size.

Gym

OpenAI Gym

Fields of Gym

history: Option<usize>

History length.

name: String

Gym game name.

remote: String

Gym executor remote address.

Methods

impl Game[src]

pub fn name(&self) -> String[src]

Game display name.

pub fn history(&self) -> Option<usize>[src]

Get history for game.

Trait Implementations

impl Clone for Game[src]

impl Debug for Game[src]

impl<'de> Deserialize<'de> for Game[src]

Auto Trait Implementations

impl RefUnwindSafe for Game

impl Send for Game

impl Sync for Game

impl Unpin for Game

impl UnwindSafe for Game

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

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

impl<T> FromPy<T> for T

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

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

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