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: boolReverse the order of commits
debug: boolDebug printing and drawing
compact: boolCompact text-based graph
colored: boolColored text-based graph
include_remote: boolInclude remote branches?
format: CommitFormatFormatting for commits
wrapping: Option<(Option<usize>, Option<usize>, Option<usize>)>Text wrapping options
characters: CharactersCharacters to use for text-based graph
branch_order: BranchOrderBranch column sorting algorithm
branches: BranchSettingsSettings for branches
merge_patterns: MergePatternsRegex 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