pub struct HitTestRegionSnapshot {
pub snapshot_id: u64,
pub coordinate_space: HitTestCoordinateSpace,
pub mode: HitTestRegionMode,
pub regions: Vec<HitTestRegion>,
}Expand description
Cached hit-test snapshot for one scene item.
Fields§
§snapshot_id: u64Monotonic identifier used to discard stale async updates.
coordinate_space: HitTestCoordinateSpaceCoordinate space for every region in this snapshot.
mode: HitTestRegionModeInterpretation mode for the listed regions.
regions: Vec<HitTestRegion>Regions interpreted according to Self::mode.
Trait Implementations§
Source§impl Clone for HitTestRegionSnapshot
impl Clone for HitTestRegionSnapshot
Source§fn clone(&self) -> HitTestRegionSnapshot
fn clone(&self) -> HitTestRegionSnapshot
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 HitTestRegionSnapshot
impl Debug for HitTestRegionSnapshot
Source§impl PartialEq for HitTestRegionSnapshot
impl PartialEq for HitTestRegionSnapshot
impl StructuralPartialEq for HitTestRegionSnapshot
Auto Trait Implementations§
impl Freeze for HitTestRegionSnapshot
impl RefUnwindSafe for HitTestRegionSnapshot
impl Send for HitTestRegionSnapshot
impl Sync for HitTestRegionSnapshot
impl Unpin for HitTestRegionSnapshot
impl UnsafeUnpin for HitTestRegionSnapshot
impl UnwindSafe for HitTestRegionSnapshot
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