pub struct PointerRegionProps {
pub layout: LayoutStyle,
pub enabled: bool,
pub capture_phase_pointer_moves: bool,
}Expand description
A pointer event listener region primitive.
This is a mechanism-only building block: it does not imply click/activation semantics.
Fields§
§layout: LayoutStyle§enabled: bool§capture_phase_pointer_moves: boolWhen set, PointerEvent::Move is dispatched to this region during the Capture phase
(root → target) rather than Bubble.
This is a mechanism-only knob intended for “gesture arena” style arbitration where a parent wrapper must observe pointer moves even when a descendant would otherwise stop bubbling (e.g. pressables capturing/stopping on pointer down).
When enabled, Bubble-phase handling for PointerEvent::Move is skipped to avoid
double-dispatch.
Trait Implementations§
Source§impl Clone for PointerRegionProps
impl Clone for PointerRegionProps
Source§fn clone(&self) -> PointerRegionProps
fn clone(&self) -> PointerRegionProps
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 PointerRegionProps
impl Debug for PointerRegionProps
Source§impl Default for PointerRegionProps
impl Default for PointerRegionProps
impl Copy for PointerRegionProps
Auto Trait Implementations§
impl Freeze for PointerRegionProps
impl RefUnwindSafe for PointerRegionProps
impl Send for PointerRegionProps
impl Sync for PointerRegionProps
impl Unpin for PointerRegionProps
impl UnsafeUnpin for PointerRegionProps
impl UnwindSafe for PointerRegionProps
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