pub struct TreeZipperExt {
pub focus: TreeNodeExt,
pub path: TreePathExt,
pub ancestors: Vec<(SimpleNodeKindExt, String, Vec<TreeNodeExt>, Vec<TreeNodeExt>)>,
}Expand description
A tree zipper for navigation.
Fields§
§focus: TreeNodeExtThe focused node
path: TreePathExtThe path to the focus
ancestors: Vec<(SimpleNodeKindExt, String, Vec<TreeNodeExt>, Vec<TreeNodeExt>)>Ancestors (parent, sibling index, left siblings, right siblings)
Implementations§
Source§impl TreeZipperExt
impl TreeZipperExt
Auto Trait Implementations§
impl Freeze for TreeZipperExt
impl RefUnwindSafe for TreeZipperExt
impl Send for TreeZipperExt
impl Sync for TreeZipperExt
impl Unpin for TreeZipperExt
impl UnsafeUnpin for TreeZipperExt
impl UnwindSafe for TreeZipperExt
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