Enum jj_lib::rewrite::EmptyBehaviour
source · pub enum EmptyBehaviour {
Keep,
AbandonNewlyEmpty,
AbandonAllEmpty,
}
Variants§
Keep
Always keep empty commits
AbandonNewlyEmpty
Skips commits that would be empty after the rebase, but that were not originally empty. Will never skip merge commits with multiple non-empty parents.
AbandonAllEmpty
Skips all empty commits, including ones that were empty before the rebase. Will never skip merge commits with multiple non-empty parents.
Trait Implementations§
source§impl Clone for EmptyBehaviour
impl Clone for EmptyBehaviour
source§fn clone(&self) -> EmptyBehaviour
fn clone(&self) -> EmptyBehaviour
Returns a copy 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 EmptyBehaviour
impl Debug for EmptyBehaviour
source§impl Default for EmptyBehaviour
impl Default for EmptyBehaviour
source§fn default() -> EmptyBehaviour
fn default() -> EmptyBehaviour
Returns the “default value” for a type. Read more
source§impl PartialEq for EmptyBehaviour
impl PartialEq for EmptyBehaviour
source§fn eq(&self, other: &EmptyBehaviour) -> bool
fn eq(&self, other: &EmptyBehaviour) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EmptyBehaviour
impl StructuralEq for EmptyBehaviour
impl StructuralPartialEq for EmptyBehaviour
Auto Trait Implementations§
impl RefUnwindSafe for EmptyBehaviour
impl Send for EmptyBehaviour
impl Sync for EmptyBehaviour
impl Unpin for EmptyBehaviour
impl UnwindSafe for EmptyBehaviour
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more