pub struct ElementQuery {
pub text: Option<String>,
pub role: Option<String>,
pub exact: bool,
pub limit: usize,
}Expand description
Criteria for Computer::query and AppState::find.
Fields§
§text: Option<String>Text matched against title, description, value, placeholder, identifier, and help.
role: Option<String>Role matched against the display role or platform role (an AX prefix is optional).
exact: boolRequire an exact (case-insensitive) text match instead of a substring.
limit: usizeMaximum number of matches.
Implementations§
Source§impl ElementQuery
impl ElementQuery
Trait Implementations§
Source§impl Clone for ElementQuery
impl Clone for ElementQuery
Source§impl Debug for ElementQuery
impl Debug for ElementQuery
Source§impl Default for ElementQuery
impl Default for ElementQuery
impl Eq for ElementQuery
Source§impl PartialEq for ElementQuery
impl PartialEq for ElementQuery
impl StructuralPartialEq for ElementQuery
Auto Trait Implementations§
impl Forget for ElementQuery
impl Freeze for ElementQuery
impl RefUnwindSafe for ElementQuery
impl Send for ElementQuery
impl Sync for ElementQuery
impl Unpin for ElementQuery
impl UnsafeUnpin for ElementQuery
impl UnwindSafe for ElementQuery
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