pub struct EventBox { /* private fields */ }Expand description
Clonable container with instance of event which hides type of event.
The Event object is just wrapper over Arc<EventBox> with type
of event specified
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EventBox
impl !RefUnwindSafe for EventBox
impl Send for EventBox
impl Sync for EventBox
impl Unpin for EventBox
impl !UnwindSafe for EventBox
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