pub struct EventBox { /* private fields */ }Expand description
Clonable container containing instance of specific Event which hides type of concrete event.
The Event object is just typed wrapper over EventObject. It goes to public interface only to allow to simplify send_event method - erase type of it’s source
parameter which actually doesn’t matter
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