pub struct LayerManager<'m, S, E>(_);
Expand description

The layer manager deals with the layers you create.

Implementations

Create a new layer manager.

Add a new layer on the top for the layer manager. Normally useful for initializing the Layer manager.

Checks if the layer manger is still active. When not active, the program should terminate or new layers should be added before calling update again.

Everytime the program recieves or generates an event, which should be handled by a layer, this method has to be called.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.