Enum jj_lib::revset::RevsetCommitRef
source · pub enum RevsetCommitRef {
WorkingCopy(WorkspaceId),
Symbol(String),
RemoteSymbol {
name: String,
remote: String,
},
VisibleHeads,
Root,
Branches(StringPattern),
RemoteBranches {
branch_pattern: StringPattern,
remote_pattern: StringPattern,
},
Tags,
GitRefs,
GitHead,
}
Expand description
Symbol or function to be resolved to CommitId
s.
Variants§
WorkingCopy(WorkspaceId)
Symbol(String)
RemoteSymbol
VisibleHeads
Root
Branches(StringPattern)
RemoteBranches
Tags
GitRefs
GitHead
Trait Implementations§
source§impl Clone for RevsetCommitRef
impl Clone for RevsetCommitRef
source§fn clone(&self) -> RevsetCommitRef
fn clone(&self) -> RevsetCommitRef
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 RevsetCommitRef
impl Debug for RevsetCommitRef
source§impl PartialEq for RevsetCommitRef
impl PartialEq for RevsetCommitRef
source§fn eq(&self, other: &RevsetCommitRef) -> bool
fn eq(&self, other: &RevsetCommitRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RevsetCommitRef
impl StructuralEq for RevsetCommitRef
impl StructuralPartialEq for RevsetCommitRef
Auto Trait Implementations§
impl RefUnwindSafe for RevsetCommitRef
impl Send for RevsetCommitRef
impl Sync for RevsetCommitRef
impl Unpin for RevsetCommitRef
impl UnwindSafe for RevsetCommitRef
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