pub struct Query<'x, N, F> { /* private fields */ }Trait Implementations§
Source§impl<'x, N, F> IntoIterator for Query<'x, N, F>
impl<'x, N, F> IntoIterator for Query<'x, N, F>
Source§impl<'x, N, F> Queryable<'x> for Query<'x, N, F>
impl<'x, N, F> Queryable<'x> for Query<'x, N, F>
Source§fn strict(self) -> Query<'x, N, F>
fn strict(self) -> Query<'x, N, F>
Forces the query to only match direct children of the root node
Source§fn tag<T>(self, tag: T) -> Query<'x, N, And<F, Tag<T>>>
fn tag<T>(self, tag: T) -> Query<'x, N, And<F, Tag<T>>>
Specifies a tag for which to search Read more
Source§fn attr<Q, V>(self, name: Q, value: V) -> Query<'x, N, And<F, Attr<Q, V>>>
fn attr<Q, V>(self, name: Q, value: V) -> Query<'x, N, And<F, Attr<Q, V>>>
Specifies an attribute name/value pair for which to search Read more
Source§fn attr_name<Q>(
self,
name: Q,
) -> Query<'x, Self::Node, And<Self::Filter, Attr<Q, bool>>>
fn attr_name<Q>( self, name: Q, ) -> Query<'x, Self::Node, And<Self::Filter, Attr<Q, bool>>>
Searches for a tag that has an attribute with the specified name Read more
Source§fn attr_value<V>(
self,
value: V,
) -> Query<'x, Self::Node, And<Self::Filter, Attr<bool, V>>>
fn attr_value<V>( self, value: V, ) -> Query<'x, Self::Node, And<Self::Filter, Attr<bool, V>>>
Search for a node with any attribute with a value that matches the specified value Read more
Source§fn class<C>(
self,
class: C,
) -> Query<'x, Self::Node, And<Self::Filter, Attr<&'static str, C>>>
fn class<C>( self, class: C, ) -> Query<'x, Self::Node, And<Self::Filter, Attr<&'static str, C>>>
Specifies a class name for which to search Read more
impl<N, F> Copy for Query<'_, N, F>where
F: Copy,
Auto Trait Implementations§
impl<'x, N, F> Freeze for Query<'x, N, F>where
F: Freeze,
impl<'x, N, F> RefUnwindSafe for Query<'x, N, F>where
F: RefUnwindSafe,
N: RefUnwindSafe,
impl<'x, N, F> Send for Query<'x, N, F>
impl<'x, N, F> Sync for Query<'x, N, F>
impl<'x, N, F> Unpin for Query<'x, N, F>where
F: Unpin,
impl<'x, N, F> UnwindSafe for Query<'x, N, F>where
F: UnwindSafe,
N: RefUnwindSafe,
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