pub struct HitChainEntry {
pub identifier: String,
pub label: String,
pub frame: Rect,
}Expand description
One named element containing the tapped point.
Named only: the same point sits inside dozens of anonymous full-screen layout containers, and the host matches selectors by identifier and label, so an unnamed container is something it can neither act on nor tell apart from the next one.
Fields§
§identifier: StringAccessibility identifier; empty when the element has none.
label: StringAccessibility label; empty when the element has none.
frame: RectThe element’s frame in the app’s coordinate space.
Trait Implementations§
Source§impl Clone for HitChainEntry
impl Clone for HitChainEntry
Source§fn clone(&self) -> HitChainEntry
fn clone(&self) -> HitChainEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HitChainEntry
impl Debug for HitChainEntry
Source§impl<'de> Deserialize<'de> for HitChainEntry
impl<'de> Deserialize<'de> for HitChainEntry
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 HitChainEntry
impl PartialEq for HitChainEntry
Source§impl Serialize for HitChainEntry
impl Serialize for HitChainEntry
impl StructuralPartialEq for HitChainEntry
Auto Trait Implementations§
impl Freeze for HitChainEntry
impl RefUnwindSafe for HitChainEntry
impl Send for HitChainEntry
impl Sync for HitChainEntry
impl Unpin for HitChainEntry
impl UnsafeUnpin for HitChainEntry
impl UnwindSafe for HitChainEntry
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