pub trait Extensions: Sync {
// Required method
fn call<'a>(
&self,
name: &str,
args: &Args<'_, 'a>,
) -> Option<Result<Value<'a>, String>>;
// Provided method
fn scalar(&self, _name: &str) -> bool { ... }
}Expand description
Functions beyond XPath 1.0’s core library, which a caller provides. A core function of the same name wins.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".