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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)