[][src]Struct codegame::ConfigScreen

pub struct ConfigScreen<G: Game, R: Renderer<G>> { /* fields omitted */ }

Implementations

impl<G: Game, R: Renderer<G>> ConfigScreen<G, R>[src]

pub fn new(
    geng: &Rc<Geng>,
    theme: &Rc<Theme>,
    game_options_config: Box<dyn DeepConfig<G::OptionsPreset>>,
    player_config_options: Vec<Box<dyn Fn() -> Box<dyn PlayerConfig<G>>>>,
    player_config_defaults: Vec<usize>,
    renderer: R,
    preferences: Rc<RefCell<AutoSave<AppPreferences<R::Preferences>>>>
) -> Self
[src]

Trait Implementations

impl<G: Game, R: Renderer<G>> State for ConfigScreen<G, R>[src]

Auto Trait Implementations

impl<G, R> !RefUnwindSafe for ConfigScreen<G, R>

impl<G, R> !Send for ConfigScreen<G, R>

impl<G, R> !Sync for ConfigScreen<G, R>

impl<G, R> Unpin for ConfigScreen<G, R>

impl<G, R> !UnwindSafe for ConfigScreen<G, R>

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

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