Struct concoct::view::EventHandler
source · pub struct EventHandler<F, V> { /* private fields */ }
Implementations§
source§impl<F, V> EventHandler<F, V>
impl<F, V> EventHandler<F, V>
Trait Implementations§
source§impl<T, A, F, V> View<T, A> for EventHandler<F, V>where
V: View<T, A>,
F: FnMut(&mut T),
impl<T, A, F, V> View<T, A> for EventHandler<F, V>where V: View<T, A>, F: FnMut(&mut T),
fn build(&mut self, cx: &mut BuildContext) -> Id
fn rebuild(&mut self, cx: &mut BuildContext, old: &mut Self)
fn layout(&mut self, cx: &mut LayoutContext, id: Id)
fn paint(&mut self, taffy: &Taffy, canvas: &mut Canvas)
fn message( &mut self, state: &mut T, id_path: &[Id], message: &dyn Any ) -> Option<A>
Auto Trait Implementations§
impl<F, V> RefUnwindSafe for EventHandler<F, V>where F: RefUnwindSafe, V: RefUnwindSafe,
impl<F, V> Send for EventHandler<F, V>where F: Send, V: Send,
impl<F, V> Sync for EventHandler<F, V>where F: Sync, V: Sync,
impl<F, V> Unpin for EventHandler<F, V>where F: Unpin, V: Unpin,
impl<F, V> UnwindSafe for EventHandler<F, V>where F: UnwindSafe, V: 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