pub struct Handler<T, F> { /* private fields */ }
Expand description
A view that handles events using a provided closure.
Implementations§
Trait Implementations§
impl<T: Eq, F: Eq> Eq for Handler<T, F>
impl<T, F> StructuralPartialEq for Handler<T, F>
Auto Trait Implementations§
impl<T, F> Freeze for Handler<T, F>
impl<T, F> RefUnwindSafe for Handler<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for Handler<T, F>
impl<T, F> Sync for Handler<T, F>
impl<T, F> Unpin for Handler<T, F>
impl<T, F> UnwindSafe for Handler<T, F>where
T: UnwindSafe,
F: 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