pub fn select(&self, sel: &str) -> Selection<'a> {
        let matcher = Matcher::new(sel).expect("Invalid CSS seletor");
        Selection {
            nodes: Matches::from_list(
                self.nodes.clone().into_iter(),
                matcher,
                MatchScope::ChildrenOnly,
            )
            .collect(),
        }
    }
/// Gets the descendants of each element in the current set of matched
/// elements, filter by a selector. It returns a new Selection object
/// containing these matched elements.
///
/// # Panics
///
/// Panics if failed to parse the given CSS selector.
Gets the descendants of each element in the current set of matched
elements, filter by a selector. It returns a new Selection object
containing these matched elements.
Gets the descendants of each element in the current set of matched elements filter by a selector . It returns a new Selection object containing these matched elements .
pub fn select(&self, sel: &str) -> Selection<'a> {
        let matcher = Matcher::new(sel).expect("Invalid CSS seletor");
        Selection {
            nodes: Matches::from_list(
                self.nodes.clone().into_iter(),
                matcher,
                MatchScope::ChildrenOnly,
            )
            .collect(),
        }
    }
pub fn select ( & self , sel : & str ) -> Selection < ' a > { let matcher = Matcher :: new ( sel ) . expect ( " " ) ; Selection { nodes : Matches :: from_list ( self . nodes . clone ( ) . into_iter ( ) , matcher , MatchScope :: ChildrenOnly , ) . collect ( ) , } }
Gets the descendants of each element in the current set of matched
elements, filter by a selector.
Gets the descendants of each element in the current set of matched elements filter by a selector .
&self
sel
&str
&self
sel
&str
panics
Panics if failed to parse the given CSS selector.
Panics if failed to parse the given CSS selector .