Struct lignin::EventBinding
source · [−]pub struct EventBinding<'a> {
pub name: &'a str,
pub context: &'a dyn Any,
pub handler: &'a (dyn Fn(&dyn Any) + 'a),
}
Fields
name: &'a str
context: &'a dyn Any
handler: &'a (dyn Fn(&dyn Any) + 'a)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EventBinding<'a>
impl<'a> !Send for EventBinding<'a>
impl<'a> !Sync for EventBinding<'a>
impl<'a> Unpin for EventBinding<'a>
impl<'a> !UnwindSafe for EventBinding<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more