pub enum Kind {
IncludeReachable,
ExcludeReachable,
RangeBetween,
ReachableToMergeBase,
IncludeReachableFromParents,
ExcludeReachableFromParents,
}
Expand description
How to interpret a revision specification, or revspec
.
Variants§
IncludeReachable
Include commits reachable from this revision, the default when parsing revision a
for example, i.e. a
and its ancestors.
Example: a
.
ExcludeReachable
Exclude commits reachable from this revision, i.e. a
and its ancestors. Example: ^a
.
RangeBetween
Every commit that is reachable from b
but not from a
. Example: a..b
.
ReachableToMergeBase
Every commit reachable through either a
or b
but no commit that is reachable by both. Example: a...b
.
IncludeReachableFromParents
Include every commit of all parents of a
, but not a
itself. Example: a^@
.
ExcludeReachableFromParents
Exclude every commit of all parents of a
, but not a
itself. Example: a^!
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Kind
impl<'de> Deserialize<'de> for Kind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Kind
impl Ord for Kind
source§impl PartialOrd for Kind
impl PartialOrd for Kind
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)