Struct layer_system::LayerManager
source · pub struct LayerManager<'m, S, E>(_);
Expand description
The layer manager deals with the layers you create.
Implementations
sourceimpl<'m, S, E> LayerManager<'m, S, E>
impl<'m, S, E> LayerManager<'m, S, E>
sourcepub fn add<L: Layer<S, E> + 'm>(&mut self, layer: L)
pub fn add<L: Layer<S, E> + 'm>(&mut self, layer: L)
Add a new layer on the top for the layer manager. Normally useful for initializing the Layer manager.
Auto Trait Implementations
impl<'m, S, E> !RefUnwindSafe for LayerManager<'m, S, E>
impl<'m, S, E> !Send for LayerManager<'m, S, E>
impl<'m, S, E> !Sync for LayerManager<'m, S, E>
impl<'m, S, E> Unpin for LayerManager<'m, S, E>
impl<'m, S, E> !UnwindSafe for LayerManager<'m, S, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more