pub struct BranchSettings {
    pub persistence: Vec<Regex>,
    pub order: Vec<Regex>,
    pub terminal_colors: Vec<(Regex, Vec<String>)>,
    pub terminal_colors_unknown: Vec<String>,
    pub svg_colors: Vec<(Regex, Vec<String>)>,
    pub svg_colors_unknown: Vec<String>,
}
Expand description

Settings defining branching models

Fields

persistence: Vec<Regex>

Branch persistence

order: Vec<Regex>

Branch ordering

terminal_colors: Vec<(Regex, Vec<String>)>

Branch colors

terminal_colors_unknown: Vec<String>

Colors for branches not matching any of colors

svg_colors: Vec<(Regex, Vec<String>)>

Branch colors for SVG output

svg_colors_unknown: Vec<String>

Colors for branches not matching any of colors for SVG output

Implementations

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.