pub enum HitTestRegionMode {
ConsumeListedRegions,
PassthroughListedRegions,
}Expand description
How a hit-test snapshot interprets its listed regions.
Variants§
ConsumeListedRegions
Listed regions consume pointer input and all other bounds pass through.
PassthroughListedRegions
Listed regions pass pointer input through and all other bounds consume it.
Trait Implementations§
Source§impl Clone for HitTestRegionMode
impl Clone for HitTestRegionMode
Source§fn clone(&self) -> HitTestRegionMode
fn clone(&self) -> HitTestRegionMode
Returns a duplicate 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 Debug for HitTestRegionMode
impl Debug for HitTestRegionMode
Source§impl PartialEq for HitTestRegionMode
impl PartialEq for HitTestRegionMode
impl Copy for HitTestRegionMode
impl Eq for HitTestRegionMode
impl StructuralPartialEq for HitTestRegionMode
Auto Trait Implementations§
impl Freeze for HitTestRegionMode
impl RefUnwindSafe for HitTestRegionMode
impl Send for HitTestRegionMode
impl Sync for HitTestRegionMode
impl Unpin for HitTestRegionMode
impl UnsafeUnpin for HitTestRegionMode
impl UnwindSafe for HitTestRegionMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.