#[repr(transparent)]pub struct HitTestMode(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the hit test modes.
Available since API-level: 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