pub struct Settings {
pub reverse_commit_order: bool,
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§
§reverse_commit_order: bool
Reverse the order of commits
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 Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more