pub struct TreeEntry {
pub id: String,
pub depth: usize,
pub repeat: bool,
pub orphan_parent: bool,
}Expand description
One row of a rendered lineage tree.
Fields§
§id: String§depth: usizeNesting level; 0 is a root.
repeat: boolAlready shown higher up — the second arm of a diamond. Not expanded.
orphan_parent: boolHas parents, none of which are in this project. Sits at the margin because there is nothing local to nest it under.
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnsafeUnpin for TreeEntry
impl UnwindSafe for TreeEntry
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