pub enum WindowPointerEvents {
Auto,
None,
BoxNone,
}Expand description
Whether a window takes the pointer (the names of a view’s
pointerEvents).
Variants§
Auto
It takes the pointer.
None
Presses and the pointer go through it to what is below. Needs the
windows capability’s overlay.
BoxNone
Its root view is box-none: the window takes the pointer where it
is over a view in the root that takes it under the views’ own
rules (hidden, pointerEvents, hitSlop, overflow), and lets
it through to what is below everywhere else, as if the window were
not there. Like a view’s box-none, a view that fills the root
still takes the pointer unless it is box-none (or none) itself;
a background does not decide it. Needs the windows capability’s
overlay. Every desktop lets the pointer through this way; on
Linux a rotated or skewed view and a rounded clipPath count by the
box around them.
Trait Implementations§
Source§impl Clone for WindowPointerEvents
impl Clone for WindowPointerEvents
impl Copy for WindowPointerEvents
Source§impl Debug for WindowPointerEvents
impl Debug for WindowPointerEvents
Source§impl Default for WindowPointerEvents
impl Default for WindowPointerEvents
impl Eq for WindowPointerEvents
Source§impl Hash for WindowPointerEvents
impl Hash for WindowPointerEvents
Source§impl HostValue for WindowPointerEvents
impl HostValue for WindowPointerEvents
Source§impl JsValue for WindowPointerEvents
impl JsValue for WindowPointerEvents
Source§impl PartialEq for WindowPointerEvents
impl PartialEq for WindowPointerEvents
Source§impl PropEnum for WindowPointerEvents
impl PropEnum for WindowPointerEvents
impl StructuralPartialEq for WindowPointerEvents
Auto Trait Implementations§
impl Forget for WindowPointerEvents
impl Freeze for WindowPointerEvents
impl Move for WindowPointerEvents
impl RefUnwindSafe for WindowPointerEvents
impl Send for WindowPointerEvents
impl Sync for WindowPointerEvents
impl Unpin for WindowPointerEvents
impl UnsafeUnpin for WindowPointerEvents
impl UnwindSafe for WindowPointerEvents
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
Source§impl<T> CallbackArgs for Twhere
T: Ret,
impl<T> CallbackArgs for Twhere
T: Ret,
Source§fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
fn ts_params(types: &mut TsTypes, names: &[&str]) -> String
names (name: string, amount: number), or without names value for one and a, b, … for
several.