[][src]Enum codegame::GameInitConfig

pub enum GameInitConfig<G: Game> {
    LoadFrom(PathBuf),
    Create(G::OptionsPreset),
}

Variants

LoadFrom(PathBuf)
Create(G::OptionsPreset)

Trait Implementations

impl<G: Clone + Game> Clone for GameInitConfig<G> where
    G::OptionsPreset: Clone
[src]

impl<G: Debug + Game> Debug for GameInitConfig<G> where
    G::OptionsPreset: Debug
[src]

impl<'de, G: Game> Deserialize<'de> for GameInitConfig<G> where
    G::OptionsPreset: Deserialize<'de>, 
[src]

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

impl<G: Game> Serialize for GameInitConfig<G> where
    G::OptionsPreset: Serialize
[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for GameInitConfig<G> where
    <G as Game>::OptionsPreset: RefUnwindSafe
[src]

impl<G> Send for GameInitConfig<G> where
    <G as Game>::OptionsPreset: Send
[src]

impl<G> Sync for GameInitConfig<G> where
    <G as Game>::OptionsPreset: Sync
[src]

impl<G> Unpin for GameInitConfig<G> where
    <G as Game>::OptionsPreset: Unpin
[src]

impl<G> UnwindSafe for GameInitConfig<G> where
    <G as Game>::OptionsPreset: UnwindSafe
[src]

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