Struct renderdag::GraphRow

source ·
pub struct GraphRow<N> {
    pub node: N,
    pub glyph: String,
    pub message: String,
    pub merge: bool,
    pub node_line: Vec<NodeLine>,
    pub link_line: Option<Vec<LinkLine>>,
    pub term_line: Option<Vec<bool>>,
    pub pad_lines: Vec<PadLine>,
}
Expand description

An output graph row.

Fields§

§node: N

The name of the node for this row.

§glyph: String

The glyph for this node.

§message: String

The message for this row.

§merge: bool

True if this row is for a merge commit.

§node_line: Vec<NodeLine>

The node columns for this row.

§link_line: Option<Vec<LinkLine>>

The link columns for this row, if a link row is necessary.

§term_line: Option<Vec<bool>>

The location of any terminators, if necessary. Other columns should be filled in with pad lines.

§pad_lines: Vec<PadLine>

The pad columns for this row.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.