pub struct Selector {
pub process: Vec<QueryProcess>,
}Fields§
§process: Vec<QueryProcess>Implementations§
Source§impl Selector
impl Selector
pub fn new() -> Self
pub fn from_str(context: &str, use_lookup: bool) -> Result<Self, Error>
pub fn head_combinator(&mut self, comb: Combinator)
pub fn make_comb_all(comb: Combinator) -> SelectorSegment
pub fn from_segment(segment: SelectorSegment) -> Self
pub fn parse_until( chars: &[char], until: &[BoxDynPattern], rules: &[(&str, Arc<Rule>)], splitter: &[BoxDynPattern], level: usize, ) -> (usize, Vec<Matched>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selector
impl !RefUnwindSafe for Selector
impl !Send for Selector
impl !Sync for Selector
impl Unpin for Selector
impl !UnwindSafe for Selector
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