pub struct PrefixLine {
pub parts: Vec<PrefixLinePart>,
pub kind: PrefixLineKind,
}Expand description
A left-side graph prefix line before message text is attached.
This is the output of the row-shapes-to-prefix-lines stage. A prefix line may contain a node glyph slot, but it does not know what glyph will fill that slot and it does not contain any right-side message text.
Fields§
§parts: Vec<PrefixLinePart>The ordered pieces that make up the graph prefix.
kind: PrefixLineKindThe semantic role of this line within the rendered row.
Trait Implementations§
Source§impl Clone for PrefixLine
impl Clone for PrefixLine
Source§impl Debug for PrefixLine
impl Debug for PrefixLine
impl Eq for PrefixLine
Source§impl PartialEq for PrefixLine
impl PartialEq for PrefixLine
impl StructuralPartialEq for PrefixLine
Auto Trait Implementations§
impl Freeze for PrefixLine
impl RefUnwindSafe for PrefixLine
impl Send for PrefixLine
impl Sync for PrefixLine
impl Unpin for PrefixLine
impl UnsafeUnpin for PrefixLine
impl UnwindSafe for PrefixLine
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