pub struct HitTestDisplayItem {
    pub rect: LayoutRect,
    pub clip_chain_id: ClipChainId,
    pub spatial_id: SpatialId,
    pub flags: PrimitiveFlags,
    pub tag: ItemTag,
}Expand description
A minimal hit-testable item for the parent browser’s convenience, and is slimmer than a RectangleDisplayItem (no color). The existence of this as a distinct item also makes it easier to inspect/debug display items.
Fields§
§rect: LayoutRect§clip_chain_id: ClipChainId§spatial_id: SpatialId§flags: PrimitiveFlags§tag: ItemTagTrait Implementations§
Source§impl Clone for HitTestDisplayItem
 
impl Clone for HitTestDisplayItem
Source§fn clone(&self) -> HitTestDisplayItem
 
fn clone(&self) -> HitTestDisplayItem
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 HitTestDisplayItem
 
impl Debug for HitTestDisplayItem
Source§impl Default for HitTestDisplayItem
 
impl Default for HitTestDisplayItem
Source§fn default() -> HitTestDisplayItem
 
fn default() -> HitTestDisplayItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HitTestDisplayItem
 
impl<'de> Deserialize<'de> for HitTestDisplayItem
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 HitTestDisplayItem
 
impl PartialEq for HitTestDisplayItem
Source§impl Peek for HitTestDisplayItem
 
impl Peek for HitTestDisplayItem
Source§impl Poke for HitTestDisplayItem
 
impl Poke for HitTestDisplayItem
Source§impl Serialize for HitTestDisplayItem
 
impl Serialize for HitTestDisplayItem
impl Copy for HitTestDisplayItem
impl StructuralPartialEq for HitTestDisplayItem
Auto Trait Implementations§
impl Freeze for HitTestDisplayItem
impl RefUnwindSafe for HitTestDisplayItem
impl Send for HitTestDisplayItem
impl Sync for HitTestDisplayItem
impl Unpin for HitTestDisplayItem
impl UnwindSafe for HitTestDisplayItem
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