pub struct Row {
pub depth: usize,
pub label: String,
pub vkind: VKind,
pub preview: String,
pub expanded: bool,
pub path: Vec<Seg>,
}Expand description
One visible line of the tree.
Fields§
§depth: usizeNesting depth (top-level entries are depth 0).
label: StringThe mapping key, or [i] for a sequence item.
vkind: VKind§preview: StringA one-line rendering of the value (the scalar text, or {n} / [n]).
expanded: boolMeaningful only for containers: whether it is currently expanded.
path: Vec<Seg>The fig path to this node from the document root.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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