pub struct Gate {
pub path: Vec<usize>,
pub scroll_first: bool,
pub outside_warning: Option<String>,
pub needs_settable: bool,
pub needs_chars: bool,
pub actions: Vec<String>,
pub center: Option<(i32, i32)>,
}Expand description
Revalidation succeeded. The backend may read settable or character count next.
Fields§
§path: Vec<usize>Child indices from the window to the element. Empty is the window itself.
scroll_first: boolTry AXScrollToVisible before the action.
outside_warning: Option<String>The element is outside the window and does not support scroll.
needs_settable: booltype still needs AXUIElementIsAttributeSettable for AXValue.
needs_chars: boolselect_text still needs AXNumberOfCharacters when the attribute exists.
actions: Vec<String>Action names copied before the perform.
center: Option<(i32, i32)>Center of the element frame, in screen points. Missing when the frame is absent.
Trait Implementations§
impl Eq for Gate
impl StructuralPartialEq for Gate
Auto Trait Implementations§
impl Freeze for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnsafeUnpin for Gate
impl UnwindSafe for Gate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.