pub enum OrderingMode {
Default,
DateOrderWalk,
AuthorDateWalk,
Topo,
AuthorDateTopo,
}Expand description
Ordering mode for commit output.
Variants§
Default
Reverse-chronological by committer date (default rev-list / log when no ordering flags).
DateOrderWalk
Commit-date heap walk (--date-order without --topo-order; matches Git for t6012).
AuthorDateWalk
Author-date heap walk (--author-date-order without --topo-order).
Topo
Topological walk with committer-date tie-breaks (--topo-order, --simplify-merges).
AuthorDateTopo
Topological walk with author-date tie-breaks (--topo-order --author-date-order).
Trait Implementations§
Source§impl Clone for OrderingMode
impl Clone for OrderingMode
Source§fn clone(&self) -> OrderingMode
fn clone(&self) -> OrderingMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderingMode
impl Debug for OrderingMode
Source§impl PartialEq for OrderingMode
impl PartialEq for OrderingMode
impl Copy for OrderingMode
impl Eq for OrderingMode
impl StructuralPartialEq for OrderingMode
Auto Trait Implementations§
impl Freeze for OrderingMode
impl RefUnwindSafe for OrderingMode
impl Send for OrderingMode
impl Sync for OrderingMode
impl Unpin for OrderingMode
impl UnsafeUnpin for OrderingMode
impl UnwindSafe for OrderingMode
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