pub struct AccessibilityTarget {
pub role: String,
pub accessible_name: String,
pub ordinal: Option<usize>,
pub frame_path: Vec<SemanticTargetSegment>,
}Expand description
Semantic target for accessibility-based commands (role + accessible name).
Fields§
§role: String§accessible_name: String§ordinal: Option<usize>§frame_path: Vec<SemanticTargetSegment>Frame hops from the main frame to the document holding this node;
empty for main-frame nodes. Segments are the same role/name/ordinal
shape FormControlTarget.frame_path resolves, so the target can be
passed verbatim to control_action.
Trait Implementations§
Source§impl Clone for AccessibilityTarget
impl Clone for AccessibilityTarget
Source§impl Debug for AccessibilityTarget
impl Debug for AccessibilityTarget
Source§impl<'de> Deserialize<'de> for AccessibilityTarget
impl<'de> Deserialize<'de> for AccessibilityTarget
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
impl Eq for AccessibilityTarget
Source§impl PartialEq for AccessibilityTarget
impl PartialEq for AccessibilityTarget
Source§impl Serialize for AccessibilityTarget
impl Serialize for AccessibilityTarget
impl StructuralPartialEq for AccessibilityTarget
Auto Trait Implementations§
impl Freeze for AccessibilityTarget
impl RefUnwindSafe for AccessibilityTarget
impl Send for AccessibilityTarget
impl Sync for AccessibilityTarget
impl Unpin for AccessibilityTarget
impl UnsafeUnpin for AccessibilityTarget
impl UnwindSafe for AccessibilityTarget
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