pub enum TreeView {
Tiny,
Dom,
}Expand description
The kind of tree Saxon-HE 12.10 holds for a document, which decides what id() finds
and the form of generate-id().
Variants§
Tiny
A tree Saxon builds itself (a TinyTree): a parsed document, a temporary tree.
Its xml:id attributes are IDs (their value whitespace-collapsed), and
generate-id() gives d + document number + node kind letter + node number.
Dom
A DOM document Saxon wraps (a DOMSource built by its DOMWriter): no attribute
is an ID for the DOM, and generate-id() gives w + document number + the
sibling positions down from the root (Navigator.getSequentialKey).
Trait Implementations§
impl Copy for TreeView
impl Eq for TreeView
impl StructuralPartialEq for TreeView
Auto Trait Implementations§
impl Forget for TreeView
impl Freeze for TreeView
impl RefUnwindSafe for TreeView
impl Send for TreeView
impl Sync for TreeView
impl Unpin for TreeView
impl UnsafeUnpin for TreeView
impl UnwindSafe for TreeView
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