pub struct HitTestResultItem {
pub pipeline: PipelineId,
pub tag: ItemTag,
pub animation_id: u64,
}
Expand description
Describe an item that matched a hit-test query.
Fields§
§pipeline: PipelineId
The pipeline that the display item that was hit belongs to.
tag: ItemTag
The tag of the hit display item.
animation_id: u64
The animation id from the stacking context.
Trait Implementations§
Source§impl Clone for HitTestResultItem
impl Clone for HitTestResultItem
Source§fn clone(&self) -> HitTestResultItem
fn clone(&self) -> HitTestResultItem
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 Debug for HitTestResultItem
impl Debug for HitTestResultItem
Source§impl<'de> Deserialize<'de> for HitTestResultItem
impl<'de> Deserialize<'de> for HitTestResultItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HitTestResultItem
impl PartialEq for HitTestResultItem
Source§impl Serialize for HitTestResultItem
impl Serialize for HitTestResultItem
impl StructuralPartialEq for HitTestResultItem
Auto Trait Implementations§
impl Freeze for HitTestResultItem
impl RefUnwindSafe for HitTestResultItem
impl Send for HitTestResultItem
impl Sync for HitTestResultItem
impl Unpin for HitTestResultItem
impl UnwindSafe for HitTestResultItem
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