pub struct EventListenerRegistration {
pub matches: fn(TypeId) -> bool,
pub handle: fn(&dyn Any, &ApplicationContext),
}Fields§
§matches: fn(TypeId) -> bool§handle: fn(&dyn Any, &ApplicationContext)Trait Implementations§
impl Collect for EventListenerRegistration
Auto Trait Implementations§
impl Freeze for EventListenerRegistration
impl RefUnwindSafe for EventListenerRegistration
impl Send for EventListenerRegistration
impl Sync for EventListenerRegistration
impl Unpin for EventListenerRegistration
impl UnwindSafe for EventListenerRegistration
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