pub struct CommandDispatchSourceV1 {
pub kind: CommandDispatchSourceKindV1,
pub element: Option<u64>,
pub test_id: Option<Arc<str>>,
}Fields§
§kind: CommandDispatchSourceKindV1§element: Option<u64>GlobalElementId.0 (from crates/fret-ui) when available.
test_id: Option<Arc<str>>Best-effort stable selector for explainability (typically a semantics test_id).
This is diagnostics-only metadata intended to make pointer-triggered Effect::Command
dispatch explainable without requiring callers to correlate element IDs with a semantics
snapshot.
Implementations§
Source§impl CommandDispatchSourceV1
impl CommandDispatchSourceV1
pub fn programmatic() -> Self
Trait Implementations§
Source§impl Clone for CommandDispatchSourceV1
impl Clone for CommandDispatchSourceV1
Source§fn clone(&self) -> CommandDispatchSourceV1
fn clone(&self) -> CommandDispatchSourceV1
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 CommandDispatchSourceV1
impl Debug for CommandDispatchSourceV1
Source§impl PartialEq for CommandDispatchSourceV1
impl PartialEq for CommandDispatchSourceV1
impl Eq for CommandDispatchSourceV1
impl StructuralPartialEq for CommandDispatchSourceV1
Auto Trait Implementations§
impl Freeze for CommandDispatchSourceV1
impl RefUnwindSafe for CommandDispatchSourceV1
impl Send for CommandDispatchSourceV1
impl Sync for CommandDispatchSourceV1
impl Unpin for CommandDispatchSourceV1
impl UnsafeUnpin for CommandDispatchSourceV1
impl UnwindSafe for CommandDispatchSourceV1
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