pub enum WindowUnderCursorSource {
Unknown,
PlatformWin32,
PlatformMacos,
Latched,
HeuristicZOrder,
HeuristicRects,
}Expand description
Best-effort diagnostics hint: which mechanism was used to select the hovered window during a cross-window drag session.
This is primarily intended for multi-window docking diagnostics (“hovered window under cursor” selection under overlap), so bundles can answer whether the runner used an OS-backed path or a heuristic fallback.
Variants§
Unknown
No source information is available (or the runner has not attempted selection yet).
PlatformWin32
OS-backed Win32 window-under-cursor selection (z-order traversal).
PlatformMacos
OS-backed macOS window-under-cursor selection.
Latched
Stable latch (reuse the previously hovered window while the cursor remains inside it).
HeuristicZOrder
Runner-maintained z-order list / rect scan (best-effort heuristic).
HeuristicRects
Full window-rect scan (best-effort heuristic).
Trait Implementations§
Source§impl Clone for WindowUnderCursorSource
impl Clone for WindowUnderCursorSource
Source§fn clone(&self) -> WindowUnderCursorSource
fn clone(&self) -> WindowUnderCursorSource
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 WindowUnderCursorSource
impl Debug for WindowUnderCursorSource
Source§impl Default for WindowUnderCursorSource
impl Default for WindowUnderCursorSource
Source§fn default() -> WindowUnderCursorSource
fn default() -> WindowUnderCursorSource
Returns the “default value” for a type. Read more
Source§impl Hash for WindowUnderCursorSource
impl Hash for WindowUnderCursorSource
Source§impl PartialEq for WindowUnderCursorSource
impl PartialEq for WindowUnderCursorSource
impl Copy for WindowUnderCursorSource
impl Eq for WindowUnderCursorSource
impl StructuralPartialEq for WindowUnderCursorSource
Auto Trait Implementations§
impl Freeze for WindowUnderCursorSource
impl RefUnwindSafe for WindowUnderCursorSource
impl Send for WindowUnderCursorSource
impl Sync for WindowUnderCursorSource
impl Unpin for WindowUnderCursorSource
impl UnsafeUnpin for WindowUnderCursorSource
impl UnwindSafe for WindowUnderCursorSource
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