pub struct OverlayArbitrationSnapshot {
pub has_any_overlays: bool,
pub modal_barrier_active: bool,
pub pointer_occlusion: PointerOcclusion,
pub pointer_capture_active: bool,
}Expand description
Snapshot of overlay-related input arbitration state for a single UiTree.
This is intended for ecosystem integration points (docking, viewport tooling, policies) that
need a stable way to reason about “what input gating is currently active” without depending on
window_overlays internals.
Fields§
§has_any_overlays: boolWhether any non-base overlay layers are visible.
modal_barrier_active: boolWhether a modal barrier is currently active (blocks_underlay_input=true on a visible layer).
pointer_occlusion: PointerOcclusionEffective pointer occlusion outcome (Radix disableOutsidePointerEvents style gating).
When modal_barrier_active=true, this is always PointerOcclusion::None since the modal
barrier already blocks underlay pointer routing.
pointer_capture_active: boolWhether any pointer is currently captured by the runtime.
Trait Implementations§
Source§impl Clone for OverlayArbitrationSnapshot
impl Clone for OverlayArbitrationSnapshot
Source§fn clone(&self) -> OverlayArbitrationSnapshot
fn clone(&self) -> OverlayArbitrationSnapshot
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 OverlayArbitrationSnapshot
impl Debug for OverlayArbitrationSnapshot
Source§impl Default for OverlayArbitrationSnapshot
impl Default for OverlayArbitrationSnapshot
Source§fn default() -> OverlayArbitrationSnapshot
fn default() -> OverlayArbitrationSnapshot
Returns the “default value” for a type. Read more
impl Copy for OverlayArbitrationSnapshot
impl Eq for OverlayArbitrationSnapshot
impl StructuralPartialEq for OverlayArbitrationSnapshot
Auto Trait Implementations§
impl Freeze for OverlayArbitrationSnapshot
impl RefUnwindSafe for OverlayArbitrationSnapshot
impl Send for OverlayArbitrationSnapshot
impl Sync for OverlayArbitrationSnapshot
impl Unpin for OverlayArbitrationSnapshot
impl UnsafeUnpin for OverlayArbitrationSnapshot
impl UnwindSafe for OverlayArbitrationSnapshot
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