pub struct TreeGuide {
pub elbow_at: Option<usize>,
pub tee: bool,
pub pass_through: Vec<usize>,
}Expand description
Guide geometry for ONE row, in gutter LEVELS (not pixels).
Fields§
§elbow_at: Option<usize>The gutter level the elbow sits in (depth - 1); None for a root.
tee: boolThe elbow’s vertical continues past the centre: a later sibling follows.
pass_through: Vec<usize>Ancestor gutter levels carrying a straight full-height line, ascending.
Trait Implementations§
impl Eq for TreeGuide
impl StructuralPartialEq for TreeGuide
Auto Trait Implementations§
impl Freeze for TreeGuide
impl RefUnwindSafe for TreeGuide
impl Send for TreeGuide
impl Sync for TreeGuide
impl Unpin for TreeGuide
impl UnsafeUnpin for TreeGuide
impl UnwindSafe for TreeGuide
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.