pub enum PrefixLinePart {
Text(String),
NodeGlyph,
}Expand description
A piece of a graph prefix line.
Variants§
Text(String)
Literal graph text.
NodeGlyph
Placeholder for the rendered node glyph.
Keeping the glyph as a slot lets callers cache prefix lines and fill in status-dependent glyphs later.
Trait Implementations§
Source§impl Clone for PrefixLinePart
impl Clone for PrefixLinePart
Source§impl Debug for PrefixLinePart
impl Debug for PrefixLinePart
impl Eq for PrefixLinePart
Source§impl PartialEq for PrefixLinePart
impl PartialEq for PrefixLinePart
impl StructuralPartialEq for PrefixLinePart
Auto Trait Implementations§
impl Freeze for PrefixLinePart
impl RefUnwindSafe for PrefixLinePart
impl Send for PrefixLinePart
impl Sync for PrefixLinePart
impl Unpin for PrefixLinePart
impl UnsafeUnpin for PrefixLinePart
impl UnwindSafe for PrefixLinePart
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