pub struct Emitter { /* private fields */ }Expand description
Sends events from native callbacks to the widget’s handlers. Cheap to clone; keep one in closures that outlive creation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Emitter
impl !Send for Emitter
impl !Sync for Emitter
impl !UnwindSafe for Emitter
impl Forget for Emitter
impl Freeze for Emitter
impl Move for Emitter
impl Unpin for Emitter
impl UnsafeUnpin for Emitterwhere
*const RcInner<RefCell<VecDeque<(NodeId, UiEvent)>>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<VecDeque<(NodeId, UiEvent)>>>>: UnsafeUnpin,
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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