#[repr(transparent)]pub struct ArkUI_TouchTestStrategy(pub c_uint);Available on crate features
api-12 and api-22 only.Expand description
Define the touch test strategy.
Available since API-level: 22
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TouchTestStrategy
impl ArkUI_TouchTestStrategy
Sourcepub const ARKUI_TOUCH_TEST_STRATEGY_DEFAULT: ArkUI_TouchTestStrategy
pub const ARKUI_TOUCH_TEST_STRATEGY_DEFAULT: ArkUI_TouchTestStrategy
Custom dispatch has no effect; the system distributes events based on the hit status of the current node.
Sourcepub const ARKUI_TOUCH_TEST_STRATEGY_FORWARD_COMPETITION: ArkUI_TouchTestStrategy
pub const ARKUI_TOUCH_TEST_STRATEGY_FORWARD_COMPETITION: ArkUI_TouchTestStrategy
The specified event is forwarded to a particular child node, and the system determines whether to distribute the event to other sibling nodes.
Sourcepub const ARKUI_TOUCH_TEST_STRATEGY_FORWARD: ArkUI_TouchTestStrategy
pub const ARKUI_TOUCH_TEST_STRATEGY_FORWARD: ArkUI_TouchTestStrategy
The specified event is forwarded to a particular child node, and the system no longer distributes the event to other sibling nodes.
Trait Implementations§
Source§impl Clone for ArkUI_TouchTestStrategy
impl Clone for ArkUI_TouchTestStrategy
Source§fn clone(&self) -> ArkUI_TouchTestStrategy
fn clone(&self) -> ArkUI_TouchTestStrategy
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 moreSource§impl Debug for ArkUI_TouchTestStrategy
impl Debug for ArkUI_TouchTestStrategy
Source§impl Hash for ArkUI_TouchTestStrategy
impl Hash for ArkUI_TouchTestStrategy
Source§impl PartialEq for ArkUI_TouchTestStrategy
impl PartialEq for ArkUI_TouchTestStrategy
Source§fn eq(&self, other: &ArkUI_TouchTestStrategy) -> bool
fn eq(&self, other: &ArkUI_TouchTestStrategy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_TouchTestStrategy
impl Eq for ArkUI_TouchTestStrategy
impl StructuralPartialEq for ArkUI_TouchTestStrategy
Auto Trait Implementations§
impl Freeze for ArkUI_TouchTestStrategy
impl RefUnwindSafe for ArkUI_TouchTestStrategy
impl Send for ArkUI_TouchTestStrategy
impl Sync for ArkUI_TouchTestStrategy
impl Unpin for ArkUI_TouchTestStrategy
impl UnsafeUnpin for ArkUI_TouchTestStrategy
impl UnwindSafe for ArkUI_TouchTestStrategy
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