pub struct Settings {
pub debug: bool,
pub compact: bool,
pub colored: bool,
pub include_remote: bool,
pub format: CommitFormat,
pub wrapping: Option<(Option<usize>, Option<usize>, Option<usize>)>,
pub characters: Characters,
pub branch_order: BranchOrder,
pub branches: BranchSettings,
pub merge_patterns: MergePatterns,
}
Expand description
Top-level settings
Fields
debug: bool
Debug printing and drawing
compact: bool
Compact text-based graph
colored: bool
Colored text-based graph
include_remote: bool
Include remote branches?
format: CommitFormat
Formatting for commits
wrapping: Option<(Option<usize>, Option<usize>, Option<usize>)>
Text wrapping options
characters: Characters
Characters to use for text-based graph
branch_order: BranchOrder
Branch column sorting algorithm
branches: BranchSettings
Settings for branches
merge_patterns: MergePatterns
Regex patterns for finding branch names in merge commit summaries
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more