pub struct XPath10Catalog;Expand description
Catalog that restricts available functions to the XPath 1.0 core set.
For empty-namespace lookups (XPath 1.0 mode), only the 27 core functions
are allowed, and they are resolved via FUNCTION_REGISTRY using FN_NAMESPACE.
For non-empty namespace lookups, delegates to BuiltinCatalog unchanged.
Trait Implementations§
Source§impl Clone for XPath10Catalog
impl Clone for XPath10Catalog
Source§fn clone(&self) -> XPath10Catalog
fn clone(&self) -> XPath10Catalog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XPath10Catalog
Source§impl Debug for XPath10Catalog
impl Debug for XPath10Catalog
Source§impl Default for XPath10Catalog
impl Default for XPath10Catalog
Source§fn default() -> XPath10Catalog
fn default() -> XPath10Catalog
Returns the “default value” for a type. Read more
Source§impl FunctionCatalog for XPath10Catalog
impl FunctionCatalog for XPath10Catalog
Source§fn lookup(
&self,
namespace: &str,
local_name: &str,
arity: usize,
) -> Option<FunctionHandle>
fn lookup( &self, namespace: &str, local_name: &str, arity: usize, ) -> Option<FunctionHandle>
Look up a function by namespace URI, local name, and arity. Read more
Source§fn get_signature(
&self,
handle: FunctionHandle,
) -> Option<DynamicFunctionSignature>
fn get_signature( &self, handle: FunctionHandle, ) -> Option<DynamicFunctionSignature>
Get the signature for a function handle. Read more
Auto Trait Implementations§
impl Freeze for XPath10Catalog
impl RefUnwindSafe for XPath10Catalog
impl Send for XPath10Catalog
impl Sync for XPath10Catalog
impl Unpin for XPath10Catalog
impl UnsafeUnpin for XPath10Catalog
impl UnwindSafe for XPath10Catalog
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