pub enum WindowPointerOcclusion {
None,
BlockMouse,
BlockMouseExceptScroll,
}Expand description
Window-level pointer occlusion mode published by the UI runtime.
Variants§
None
No occlusion; pointer events route normally via hit-testing.
BlockMouse
Blocks pointer interaction (hover/move/down/up) for underlay roots.
BlockMouseExceptScroll
Blocks pointer interaction for underlay roots, but allows scroll wheel forwarding.
Trait Implementations§
Source§impl Clone for WindowPointerOcclusion
impl Clone for WindowPointerOcclusion
Source§fn clone(&self) -> WindowPointerOcclusion
fn clone(&self) -> WindowPointerOcclusion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WindowPointerOcclusion
Source§impl Debug for WindowPointerOcclusion
impl Debug for WindowPointerOcclusion
Source§impl Default for WindowPointerOcclusion
impl Default for WindowPointerOcclusion
Source§fn default() -> WindowPointerOcclusion
fn default() -> WindowPointerOcclusion
Returns the “default value” for a type. Read more
impl Eq for WindowPointerOcclusion
Source§impl PartialEq for WindowPointerOcclusion
impl PartialEq for WindowPointerOcclusion
Source§fn eq(&self, other: &WindowPointerOcclusion) -> bool
fn eq(&self, other: &WindowPointerOcclusion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindowPointerOcclusion
Auto Trait Implementations§
impl Freeze for WindowPointerOcclusion
impl RefUnwindSafe for WindowPointerOcclusion
impl Send for WindowPointerOcclusion
impl Sync for WindowPointerOcclusion
impl Unpin for WindowPointerOcclusion
impl UnsafeUnpin for WindowPointerOcclusion
impl UnwindSafe for WindowPointerOcclusion
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