pub struct EventSink { /* private fields */ }Expand description
How backends report native events. Events are queued; the Ui
drains them when the backend calls Ui::process_events
(or right after a Backend::perform).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EventSink
impl !Send for EventSink
impl !Sync for EventSink
impl !UnwindSafe for EventSink
impl Forget for EventSink
impl Freeze for EventSink
impl Move for EventSink
impl Unpin for EventSink
impl UnsafeUnpin for EventSink
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