pub struct Static<L, W> { /* private fields */ }Expand description
A static child’s lift: wrap the child’s event in the parent’s variant
(W), then lift as the parent does (L).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<L, W> Freeze for Static<L, W>
impl<L, W> RefUnwindSafe for Static<L, W>where
L: RefUnwindSafe,
W: RefUnwindSafe,
impl<L, W> Send for Static<L, W>
impl<L, W> Sync for Static<L, W>
impl<L, W> Unpin for Static<L, W>
impl<L, W> UnsafeUnpin for Static<L, W>where
L: UnsafeUnpin,
W: UnsafeUnpin,
impl<L, W> UnwindSafe for Static<L, W>where
L: UnwindSafe,
W: UnwindSafe,
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