pub struct Query<'a, P: Parser<'a>, F: Filter<P::Node>> {
pub filter: F,
pub soup: &'a Soup<'a, P>,
}
Fields§
§filter: F
§soup: &'a Soup<'a, P>
Trait Implementations§
source§impl<'a, P: Parser<'a>, F: Filter<P::Node>> QueryExt<'a, P, F> for Query<'a, P, F>
impl<'a, P: Parser<'a>, F: Filter<P::Node>> QueryExt<'a, P, F> for Query<'a, P, F>
source§fn tag<T: Pattern>(self, tag: T) -> Query<'a, P, And<F, Tag<T>>>
fn tag<T: Pattern>(self, tag: T) -> Query<'a, P, And<F, Tag<T>>>
Specifies a tag for which to search Read more
source§fn attr<N: Pattern, V: Pattern>(
self,
name: N,
value: V
) -> Query<'a, P, And<F, Attr<N, V>>>
fn attr<N: Pattern, V: Pattern>( self, name: N, value: V ) -> Query<'a, P, And<F, Attr<N, V>>>
Specifies an attribute name/value pair for which to search Read more
source§fn attr_name<N: Pattern>(self, name: N) -> Query<'a, P, And<F, Attr<N, bool>>>
fn attr_name<N: Pattern>(self, name: N) -> Query<'a, P, And<F, Attr<N, bool>>>
Searches for a tag that has an attribute with the specified name Read more
Auto Trait Implementations§
impl<'a, P, F> RefUnwindSafe for Query<'a, P, F>
impl<'a, P, F> Send for Query<'a, P, F>
impl<'a, P, F> Sync for Query<'a, P, F>
impl<'a, P, F> Unpin for Query<'a, P, F>where
F: Unpin,
impl<'a, P, F> UnwindSafe for Query<'a, P, F>
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