pub struct XPathContext { /* private fields */ }Expand description
XPath evaluation context.
§Rerefence
Expression evaluation occurs with respect to a context. XSLT and XPointer specify how the context is determined for XPath expressions used in XSLT and XPointer respectively. The context consists of:
- a node (the context node)
- a pair of non-zero positive integers (the context position and the context size)
- a set of variable bindings
- a function library
- the set of namespace declarations in scope for the expression
Trait Implementations§
Source§impl Default for XPathContext
impl Default for XPathContext
Source§fn default() -> XPathContext
fn default() -> XPathContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for XPathContext
impl !RefUnwindSafe for XPathContext
impl !Send for XPathContext
impl !Sync for XPathContext
impl Unpin for XPathContext
impl UnsafeUnpin for XPathContext
impl !UnwindSafe for XPathContext
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