pub fn without_tag<N>(self, tag_name: N) -> Self
    where
        N: Needle + Clone + Send + Sync + 'static,
    {
        let ignore_errors = self.ignore_errors;
        self.with_filter(Box::new(move |elem| {
            let tag_name = tag_name.clone();
            Box::pin(async move {
                negate(elem.tag_name().await.map(|x| tag_name.is_match(&x)), ignore_errors)
            })
        }))
    }
/// Only match elements that do not have the specified tag.
/// See the `Needle` documentation for more details on text matching rules.
Only match elements that do not have the specified tag.
See the `Needle` documentation for more details on text matching rules.
Only match elements that do not have the specified tag . See the ` Needle ` documentation for more details on text matching rules .
pub fn without_tag<N>(self, tag_name: N) -> Self
    where
        N: Needle + Clone + Send + Sync + 'static,
    {
        let ignore_errors = self.ignore_errors;
        self.with_filter(Box::new(move |elem| {
            let tag_name = tag_name.clone();
            Box::pin(async move {
                negate(elem.tag_name().await.map(|x| tag_name.is_match(&x)), ignore_errors)
            })
        }))
    }
pub fn without_tag < N > ( self , tag_name : N ) -> Self where N : Needle + Clone + Send + Sync + ' static , { let ignore_errors = self . ignore_errors ; self . with_filter ( Box :: new ( move | elem | { let tag_name = tag_name . clone ( ) ; Box :: pin ( async move { negate ( elem . tag_name ( ) . await . map ( | x | tag_name . is_match ( & x ) ) , ignore_errors ) } ) } ) ) }
Only match elements that do not have the specified tag.
Only match elements that do not have the specified tag .
self
tag_name
N
self
tag_name
N