pub struct SPath<T: VariantValue, Registry: FunctionRegistry<Value = T>> { /* private fields */ }Implementations§
Source§impl<T: VariantValue, Registry: FunctionRegistry<Value = T>> SPath<T, Registry>
impl<T: VariantValue, Registry: FunctionRegistry<Value = T>> SPath<T, Registry>
pub fn parse_with_registry( query: &str, registry: Registry, ) -> Result<Self, ParseError>
pub fn query<'b>(&self, value: &'b T) -> NodeList<'b, T>
pub fn query_located<'b>(&self, value: &'b T) -> LocatedNodeList<'b, T>
Trait Implementations§
Source§impl<T: Clone + VariantValue, Registry: Clone + FunctionRegistry<Value = T>> Clone for SPath<T, Registry>
impl<T: Clone + VariantValue, Registry: Clone + FunctionRegistry<Value = T>> Clone for SPath<T, Registry>
Auto Trait Implementations§
impl<T, Registry> Freeze for SPath<T, Registry>
impl<T, Registry> RefUnwindSafe for SPath<T, Registry>where
Registry: RefUnwindSafe,
impl<T, Registry> Send for SPath<T, Registry>
impl<T, Registry> Sync for SPath<T, Registry>
impl<T, Registry> Unpin for SPath<T, Registry>
impl<T, Registry> UnwindSafe for SPath<T, Registry>where
Registry: 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