pub struct NodeSelection { /* private fields */ }Expand description
The nodes of an expression read in place (CompiledExpr::select_in_place): a
document and node indices in document order.
Implementations§
Source§impl NodeSelection
impl NodeSelection
Sourcepub fn get(&self, position: usize) -> Option<Node>
pub fn get(&self, position: usize) -> Option<Node>
The node at position (from 0) in document order.
Sourcepub fn into_storage(self) -> SelectionStorage
pub fn into_storage(self) -> SelectionStorage
The storage of the selection, emptied, to be given to a later selection
(CompiledExpr::select_in_place).
Trait Implementations§
Source§impl Clone for NodeSelection
impl Clone for NodeSelection
Auto Trait Implementations§
impl !RefUnwindSafe for NodeSelection
impl !Send for NodeSelection
impl !Sync for NodeSelection
impl !UnwindSafe for NodeSelection
impl Forget for NodeSelection
impl Freeze for NodeSelection
impl Unpin for NodeSelection
impl UnsafeUnpin for NodeSelection
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