pub struct WindowPendingCommandDispatchSourceService { /* private fields */ }Expand description
Frame/tick-local source metadata for the next Effect::Command dispatch.
This is a diagnostics-only escape hatch so pointer-triggered dispatch (which is encoded via an
Effect::Command) can still be explained as “element X dispatched command Y”.
Implementations§
Source§impl WindowPendingCommandDispatchSourceService
impl WindowPendingCommandDispatchSourceService
pub fn record( &mut self, window: AppWindowId, tick_id: TickId, command: CommandId, source: CommandDispatchSourceV1, )
pub fn consume( &mut self, window: AppWindowId, tick_id: TickId, command: &CommandId, ) -> Option<CommandDispatchSourceV1>
Trait Implementations§
Source§impl Default for WindowPendingCommandDispatchSourceService
impl Default for WindowPendingCommandDispatchSourceService
Source§fn default() -> WindowPendingCommandDispatchSourceService
fn default() -> WindowPendingCommandDispatchSourceService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowPendingCommandDispatchSourceService
impl RefUnwindSafe for WindowPendingCommandDispatchSourceService
impl Send for WindowPendingCommandDispatchSourceService
impl Sync for WindowPendingCommandDispatchSourceService
impl Unpin for WindowPendingCommandDispatchSourceService
impl UnsafeUnpin for WindowPendingCommandDispatchSourceService
impl UnwindSafe for WindowPendingCommandDispatchSourceService
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