pub struct LayerHandle<'a, M> { /* private fields */ }Expand description
Opens and closes layers on a Layers host from anywhere: a binding’s
handler, your own component, a timer. Requests take effect when the host
next handles an event (the one being handled, from inside it).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, M> !RefUnwindSafe for LayerHandle<'a, M>
impl<'a, M> !Send for LayerHandle<'a, M>
impl<'a, M> !Sync for LayerHandle<'a, M>
impl<'a, M> !UnwindSafe for LayerHandle<'a, M>
impl<'a, M> Freeze for LayerHandle<'a, M>
impl<'a, M> Unpin for LayerHandle<'a, M>
impl<'a, M> UnsafeUnpin for LayerHandle<'a, M>
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