pub struct PaneCleanupDiagnostics {
pub had_active_pointer: bool,
pub active_pointer_id: Option<u32>,
pub machine_state_before: PaneDragResizeState,
pub machine_transition: Option<PaneDragResizeTransition>,
}Expand description
Structured diagnostics emitted when pane interaction state is force-cleaned.
Fields mirror the pane layout types which are already Serialize/Deserialize,
so callers can convert this struct to JSON for evidence logging.
Fields§
§had_active_pointer: boolWhether the adapter had an active pointer tracker when cleanup ran.
active_pointer_id: Option<u32>The pointer ID that was active (if any).
machine_state_before: PaneDragResizeStateThe machine state before force-cancel was applied.
machine_transition: Option<PaneDragResizeTransition>The transition produced by force-cancel, or None if the machine
was already idle.
Trait Implementations§
Source§impl Clone for PaneCleanupDiagnostics
impl Clone for PaneCleanupDiagnostics
Source§fn clone(&self) -> PaneCleanupDiagnostics
fn clone(&self) -> PaneCleanupDiagnostics
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 PaneCleanupDiagnostics
impl Debug for PaneCleanupDiagnostics
Source§impl PartialEq for PaneCleanupDiagnostics
impl PartialEq for PaneCleanupDiagnostics
impl Eq for PaneCleanupDiagnostics
impl StructuralPartialEq for PaneCleanupDiagnostics
Auto Trait Implementations§
impl Freeze for PaneCleanupDiagnostics
impl RefUnwindSafe for PaneCleanupDiagnostics
impl Send for PaneCleanupDiagnostics
impl Sync for PaneCleanupDiagnostics
impl Unpin for PaneCleanupDiagnostics
impl UnsafeUnpin for PaneCleanupDiagnostics
impl UnwindSafe for PaneCleanupDiagnostics
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.