#[repr(transparent)]pub struct ArkUI_HitTestMode(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief Enumerates the hit test modes.
@since 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.
Source§impl ArkUI_HitTestMode
impl ArkUI_HitTestMode
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.
Source§impl ArkUI_HitTestMode
impl ArkUI_HitTestMode
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.
Source§impl ArkUI_HitTestMode
impl ArkUI_HitTestMode
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.
Trait Implementations§
Source§impl Clone for ArkUI_HitTestMode
impl Clone for ArkUI_HitTestMode
Source§fn clone(&self) -> ArkUI_HitTestMode
fn clone(&self) -> ArkUI_HitTestMode
Returns a copy 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 Hash for ArkUI_HitTestMode
impl Hash for ArkUI_HitTestMode
Source§impl PartialEq for ArkUI_HitTestMode
impl PartialEq 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§
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