pub struct EventListenerHandle {
pub method: MethodId,
pub id: ListenerId,
}Expand description
Handle returned when you register a listener. Use it to remove a listener immediately.
Fields§
§method: MethodId§id: ListenerIdTrait Implementations§
Source§impl Clone for EventListenerHandle
impl Clone for EventListenerHandle
Source§fn clone(&self) -> EventListenerHandle
fn clone(&self) -> EventListenerHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventListenerHandle
impl Debug for EventListenerHandle
Source§impl Hash for EventListenerHandle
impl Hash for EventListenerHandle
Source§impl PartialEq for EventListenerHandle
impl PartialEq for EventListenerHandle
impl Eq for EventListenerHandle
impl StructuralPartialEq for EventListenerHandle
Auto Trait Implementations§
impl Freeze for EventListenerHandle
impl RefUnwindSafe for EventListenerHandle
impl Send for EventListenerHandle
impl Sync for EventListenerHandle
impl Unpin for EventListenerHandle
impl UnsafeUnpin for EventListenerHandle
impl UnwindSafe for EventListenerHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.