pub struct EventDispatchPlan {
pub consumed: bool,
pub firings: Vec<EventFiring>,
}Expand description
The ordered firing plan produced by
DynRenderer::plan_event_dispatch. Separates planning (done
under the renderer borrow) from firing (done after the borrow is
released, since a handler may re-enter the renderer).
Fields§
§consumed: boolWhether any listener matched — relayed to the platform reporter so Lynx can skip its own native chain for this event.
firings: Vec<EventFiring>Listeners to invoke, in propagation order.
Trait Implementations§
Source§impl Default for EventDispatchPlan
impl Default for EventDispatchPlan
Source§fn default() -> EventDispatchPlan
fn default() -> EventDispatchPlan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for EventDispatchPlan
impl !Send for EventDispatchPlan
impl !Sync for EventDispatchPlan
impl !UnwindSafe for EventDispatchPlan
impl Freeze for EventDispatchPlan
impl Unpin for EventDispatchPlan
impl UnsafeUnpin for EventDispatchPlan
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