#[repr(transparent)]pub struct 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 HitTestMode
impl HitTestMode
Sourcepub const HTM_DEFAULT: HitTestMode = _
pub const HTM_DEFAULT: 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 HitTestMode
impl HitTestMode
Sourcepub const HTM_BLOCK: HitTestMode = _
pub const HTM_BLOCK: 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 HitTestMode
impl HitTestMode
Sourcepub const HTM_TRANSPARENT: HitTestMode = _
pub const HTM_TRANSPARENT: 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 HitTestMode
impl HitTestMode
Sourcepub const HTM_NONE: HitTestMode = _
pub const HTM_NONE: HitTestMode = _
The node does not respond to the hit test of a touch event, but its child node and sibling node are considered during the hit test.
Trait Implementations§
Source§impl Clone for HitTestMode
impl Clone for HitTestMode
Source§fn clone(&self) -> HitTestMode
fn clone(&self) -> 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 HitTestMode
impl Hash for HitTestMode
Source§impl PartialEq for HitTestMode
impl PartialEq for HitTestMode
impl Eq for HitTestMode
impl StructuralPartialEq for HitTestMode
Auto Trait Implementations§
impl Freeze for HitTestMode
impl RefUnwindSafe for HitTestMode
impl Send for HitTestMode
impl Sync for HitTestMode
impl Unpin for HitTestMode
impl UnwindSafe for 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