pub struct EventDispatchResult {
pub callbacks: Vec<CallbackToInvoke>,
pub propagation_stopped: bool,
}Expand description
Result of dispatching events - contains all callbacks that should be invoked
Fields§
§callbacks: Vec<CallbackToInvoke>Callbacks to invoke, in order
propagation_stopped: boolWhether any event had stop_propagation set
Implementations§
Trait Implementations§
Source§impl Clone for EventDispatchResult
impl Clone for EventDispatchResult
Source§fn clone(&self) -> EventDispatchResult
fn clone(&self) -> EventDispatchResult
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 EventDispatchResult
impl Debug for EventDispatchResult
Source§impl PartialEq for EventDispatchResult
impl PartialEq for EventDispatchResult
impl StructuralPartialEq for EventDispatchResult
Auto Trait Implementations§
impl Freeze for EventDispatchResult
impl RefUnwindSafe for EventDispatchResult
impl Send for EventDispatchResult
impl Sync for EventDispatchResult
impl Unpin for EventDispatchResult
impl UnwindSafe for EventDispatchResult
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more