pub struct LayerManager<S, E>(/* private fields */);
Expand description
The layer manager deals with the layers you create.
Implementations§
Source§impl<S, E> LayerManager<S, E>
impl<S, E> LayerManager<S, E>
Sourcepub fn new(layers: Vec<Box<dyn Layer<S, E>>>) -> Self
pub fn new(layers: Vec<Box<dyn Layer<S, E>>>) -> Self
Create a new layer manager containing specified initial layers.
Auto Trait Implementations§
impl<S, E> Freeze for LayerManager<S, E>
impl<S, E> !RefUnwindSafe for LayerManager<S, E>
impl<S, E> !Send for LayerManager<S, E>
impl<S, E> !Sync for LayerManager<S, E>
impl<S, E> Unpin for LayerManager<S, E>
impl<S, E> !UnwindSafe for LayerManager<S, E>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more