Struct branchless::core::formatting::Glyphs [−][src]
pub struct Glyphs {}Show fields
pub should_write_ansi_escape_codes: bool, pub line: &'static str, pub line_with_offshoot: &'static str, pub vertical_ellipsis: &'static str, pub slash: &'static str, pub commit_visible: &'static str, pub commit_visible_head: &'static str, pub commit_hidden: &'static str, pub commit_hidden_head: &'static str, pub commit_main: &'static str, pub commit_main_head: &'static str, pub commit_main_hidden: &'static str, pub commit_main_hidden_head: &'static str, pub bullet_point: &'static str,
Expand description
Glyphs to use for rendering the smartlog.
Fields
should_write_ansi_escape_codes: bool
Whether or not ANSI escape codes should be emitted (e.g. to render color).
line: &'static str
Line connecting a parent commit to its single child commit.
line_with_offshoot: &'static str
Line connecting a parent commit with two or more child commits.
vertical_ellipsis: &'static str
Denotes an omitted sequence of commits.
slash: &'static str
Line used to connect a parent commit to its non-first child commit.
commit_visible: &'static str
Cursor for a visible commit which is not currently checked out.
commit_visible_head: &'static str
Cursor for the visible commit which is currently checked out.
Cursor for a hidden commit.
Cursor for the hidden commit which is currently checked out.
commit_main: &'static str
Cursor for a commit belonging to the main branch, which is not currently checked out.
commit_main_head: &'static str
Cursor for a commit belonging to the main branch, which is currently checked out.
Cursor for a hidden commit belonging to the main branch. (This is an unusual situation.)
Cursor for a hidden commit belonging to the main branch, which is currently checked out. (This is an unusual situation.)
bullet_point: &'static str
Bullet-point character for a list of newline-separated items.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Glyphs
impl UnwindSafe for Glyphs