[][src]Enum codegame::GameInitOptions

pub enum GameInitOptions<G: Game> {
    Ready(G),
    New(G::Options),
}

Variants

Ready(G)
New(G::Options)

Trait Implementations

impl<G: Clone + Game> Clone for GameInitOptions<G> where
    G::Options: Clone
[src]

impl<G: Debug + Game> Debug for GameInitOptions<G> where
    G::Options: Debug
[src]

impl<G: Game> Default for GameInitOptions<G> where
    G::Options: Default
[src]

impl<'de, G: Game> Deserialize<'de> for GameInitOptions<G>[src]

impl<G: Game> From<GameInitConfig<G>> for GameInitOptions<G>[src]

impl<G: Game> Serialize for GameInitOptions<G>[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for GameInitOptions<G> where
    G: RefUnwindSafe,
    <G as Game>::Options: RefUnwindSafe

impl<G> Send for GameInitOptions<G> where
    <G as Game>::Options: Send

impl<G> Sync for GameInitOptions<G> where
    <G as Game>::Options: Sync

impl<G> Unpin for GameInitOptions<G> where
    G: Unpin,
    <G as Game>::Options: Unpin

impl<G> UnwindSafe for GameInitOptions<G> where
    G: UnwindSafe,
    <G as Game>::Options: 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> Message for T where
    T: 'static + Send + Debug + for<'de> Deserialize<'de> + Serialize
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,