#[repr(u32)]pub enum EventResult {
Reject = 0,
Accept = 1,
}
Expand description
This enum describes whether an event was rejected or accepted by an event handler.
Variants§
Reject = 0
The event is rejected by this event handler and may then be handled by the parent item
Accept = 1
The event is accepted and won’t be processed further
Trait Implementations§
Source§impl Clone for EventResult
impl Clone for EventResult
Source§fn clone(&self) -> EventResult
fn clone(&self) -> EventResult
Returns a copy 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 EventResult
impl Debug for EventResult
Source§impl Default for EventResult
impl Default for EventResult
Source§impl Display for EventResult
impl Display for EventResult
Source§impl FromStr for EventResult
impl FromStr for EventResult
Source§impl Hash for EventResult
impl Hash for EventResult
Source§impl PartialEq for EventResult
impl PartialEq for EventResult
Source§impl TryFrom<&str> for EventResult
impl TryFrom<&str> for EventResult
impl Copy for EventResult
impl Eq for EventResult
impl StructuralPartialEq for EventResult
Auto Trait Implementations§
impl Freeze for EventResult
impl RefUnwindSafe for EventResult
impl Send for EventResult
impl Sync for EventResult
impl Unpin for EventResult
impl UnwindSafe for EventResult
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,
Converts the given value to a
SharedString
.