[][src]Struct codegame::EmptyPlayerConfig

pub struct EmptyPlayerConfig { /* fields omitted */ }

Implementations

impl EmptyPlayerConfig[src]

pub fn new(geng: &Rc<Geng>, theme: &Rc<Theme>) -> Self[src]

pub fn constructor<G: Game>(
    geng: &Rc<Geng>,
    theme: &Rc<Theme>
) -> Box<dyn Fn() -> Box<dyn PlayerConfig<G>>>

Important traits for Box<R>

impl<R> Read for Box<R> where
    R: Read + ?Sized
impl<W> Write for Box<W> where
    W: Write + ?Sized
impl<I> Iterator for Box<I> where
    I: Iterator + ?Sized
type Item = <I as Iterator>::Item;impl<F> Future for Box<F> where
    F: Unpin + Future + ?Sized
type Output = <F as Future>::Output;
where
    G::Action: Default
[src]

Trait Implementations

impl Clone for EmptyPlayerConfig[src]

impl<G: Game> PlayerConfig<G> for EmptyPlayerConfig where
    G::Action: Default
[src]

Auto Trait Implementations

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> 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> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for 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>,