#[repr(transparent)]pub struct ArkUI_HitTestMode(pub c_uint);api-12 only.Expand description
Enumerates the hit test modes.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_HitTestMode
impl ArkUI_HitTestMode
Sourcepub const ARKUI_HIT_TEST_MODE_DEFAULT: ArkUI_HitTestMode
pub const ARKUI_HIT_TEST_MODE_DEFAULT: ArkUI_HitTestMode
Both the node and its child node respond to the hit test of a touch event, but its sibling node is blocked from the hit test.
Sourcepub const ARKUI_HIT_TEST_MODE_BLOCK: ArkUI_HitTestMode
pub const ARKUI_HIT_TEST_MODE_BLOCK: ArkUI_HitTestMode
The node responds to the hit test of a touch event, but its child node and sibling node are blocked from the hit test.
Sourcepub const ARKUI_HIT_TEST_MODE_TRANSPARENT: ArkUI_HitTestMode
pub const ARKUI_HIT_TEST_MODE_TRANSPARENT: ArkUI_HitTestMode
Both the node and its child node respond to the hit test of a touch event, and its sibling node is also considered during the hit test.
Sourcepub const ARKUI_HIT_TEST_MODE_NONE: ArkUI_HitTestMode
pub const ARKUI_HIT_TEST_MODE_NONE: ArkUI_HitTestMode
The node does not respond to the hit test of a touch event.
Sourcepub const ARKUI_HIT_TEST_MODE_BLOCK_HIERARCHY: ArkUI_HitTestMode
Available on crate feature api-20 only.
pub const ARKUI_HIT_TEST_MODE_BLOCK_HIERARCHY: ArkUI_HitTestMode
api-20 only.The node and its child nodes participate in hit tests, while blocking hit tests for all sibling nodes and parent nodes with lower priority.
Available since API-level: 20
Sourcepub const ARKUI_HIT_TEST_MODE_BLOCK_DESCENDANTS: ArkUI_HitTestMode
Available on crate feature api-20 only.
pub const ARKUI_HIT_TEST_MODE_BLOCK_DESCENDANTS: ArkUI_HitTestMode
api-20 only.The node does not respond to hit tests, and none of its descendants (including children and grandchildren) participate in hit tests either.
Available since API-level: 20
Trait Implementations§
Source§impl Clone for ArkUI_HitTestMode
impl Clone for ArkUI_HitTestMode
Source§fn clone(&self) -> ArkUI_HitTestMode
fn clone(&self) -> ArkUI_HitTestMode
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArkUI_HitTestMode
impl Debug for ArkUI_HitTestMode
Source§impl Hash for ArkUI_HitTestMode
impl Hash for ArkUI_HitTestMode
Source§impl PartialEq for ArkUI_HitTestMode
impl PartialEq for ArkUI_HitTestMode
impl Copy for ArkUI_HitTestMode
impl Eq for ArkUI_HitTestMode
impl StructuralPartialEq for ArkUI_HitTestMode
Auto Trait Implementations§
impl Freeze for ArkUI_HitTestMode
impl RefUnwindSafe for ArkUI_HitTestMode
impl Send for ArkUI_HitTestMode
impl Sync for ArkUI_HitTestMode
impl Unpin for ArkUI_HitTestMode
impl UnwindSafe for ArkUI_HitTestMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)