pub enum Handled {
Yes,
No,
}
Expand description
An enum for specifying whether an event was handled.
Variants§
Yes
An event was already handled, and shouldn’t be propagated to other event handlers.
No
An event has not yet been handled.
Implementations§
Trait Implementations§
source§impl PartialEq for Handled
impl PartialEq for Handled
impl Copy for Handled
impl Eq for Handled
impl StructuralPartialEq for Handled
Auto Trait Implementations§
impl Freeze for Handled
impl RefUnwindSafe for Handled
impl Send for Handled
impl Sync for Handled
impl Unpin for Handled
impl UnwindSafe for Handled
Blanket Implementations§
source§impl<T> AsAny for Twhere
T: Any,
impl<T> AsAny for Twhere
T: Any,
source§fn as_dyn_any(&self) -> &(dyn Any + 'static)
fn as_dyn_any(&self) -> &(dyn Any + 'static)
Return self.
source§fn as_mut_dyn_any(&mut self) -> &mut (dyn Any + 'static)
fn as_mut_dyn_any(&mut self) -> &mut (dyn Any + 'static)
Return self.
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.