pub enum QuerySpec<'a> {
Bounds(&'a str),
Exists(&'a str),
ChildCount(&'a str),
}Expand description
What to query about a tagged widget.
Variants§
Bounds(&'a str)
Get bounds of the widget with the given tag.
Exists(&'a str)
Check if a tagged widget exists in the tree.
ChildCount(&'a str)
Count children of the tagged widget.
Trait Implementations§
impl<'a> Eq for QuerySpec<'a>
Source§impl<'a> PartialEq for QuerySpec<'a>
impl<'a> PartialEq for QuerySpec<'a>
impl<'a> StructuralPartialEq for QuerySpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuerySpec<'a>
impl<'a> RefUnwindSafe for QuerySpec<'a>
impl<'a> Send for QuerySpec<'a>
impl<'a> Sync for QuerySpec<'a>
impl<'a> Unpin for QuerySpec<'a>
impl<'a> UnsafeUnpin for QuerySpec<'a>
impl<'a> UnwindSafe for QuerySpec<'a>
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