pub struct OverlayRootOptions {
pub blocks_underlay_input: bool,
pub hit_testable: bool,
}Expand description
Stable mechanism contract for installing an overlay root into a window-scoped UiTree.
The runtime only owns the layer/root substrate. Higher-level overlay policy stays in
ecosystem/* and can refine the layer after installation (for example by changing focus or
pointer-occlusion behavior).
Fields§
§blocks_underlay_input: boolWhether this layer blocks input to underlay roots when visible.
On install, this also seeds blocks_underlay_focus to the same value. Policy code can
diverge the focus barrier later via UiTree::set_layer_blocks_underlay_focus(...).
hit_testable: boolWhether this layer participates in hit testing inside its own subtree.
Implementations§
Trait Implementations§
Source§impl Clone for OverlayRootOptions
impl Clone for OverlayRootOptions
Source§fn clone(&self) -> OverlayRootOptions
fn clone(&self) -> OverlayRootOptions
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 OverlayRootOptions
impl Debug for OverlayRootOptions
Source§impl Default for OverlayRootOptions
impl Default for OverlayRootOptions
Source§impl PartialEq for OverlayRootOptions
impl PartialEq for OverlayRootOptions
impl Copy for OverlayRootOptions
impl Eq for OverlayRootOptions
impl StructuralPartialEq for OverlayRootOptions
Auto Trait Implementations§
impl Freeze for OverlayRootOptions
impl RefUnwindSafe for OverlayRootOptions
impl Send for OverlayRootOptions
impl Sync for OverlayRootOptions
impl Unpin for OverlayRootOptions
impl UnsafeUnpin for OverlayRootOptions
impl UnwindSafe for OverlayRootOptions
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