Struct egui_tetra::StateWrapper[][src]

pub struct StateWrapper<E: From<Error>> { /* fields omitted */ }
Expand description

An adaptor that implements tetra::State for implementors of State.

Implementations

Wraps an implementor of State so it implements tetra::State.

Returns a reference to this wrapper’s egui context.

Trait Implementations

Called when it is time for the game to update.

Called when it is time for the game to be drawn.

Called when a window or input event occurs.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.