pub trait Document {
type N<'a>: Node<'a>
where Self: 'a;
// Required method
fn root(&self) -> Self::N<'_>;
}Expand description
An XPath 1.0 document: gives access to the root node.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".