pub enum RevsetExpression {
Show 23 variants None, Commits(Vec<CommitId>), Symbol(String), Parents(Rc<RevsetExpression>), Children(Rc<RevsetExpression>), Ancestors(Rc<RevsetExpression>), Range { roots: Rc<RevsetExpression>, heads: Rc<RevsetExpression>, }, DagRange { roots: Rc<RevsetExpression>, heads: Rc<RevsetExpression>, }, Heads, HeadsOf(Rc<RevsetExpression>), PublicHeads, Branches, RemoteBranches, Tags, GitRefs, GitHead, ParentCount { candidates: Rc<RevsetExpression>, parent_count_range: Range<u32>, }, Description { needle: String, candidates: Rc<RevsetExpression>, }, Author { needle: String, candidates: Rc<RevsetExpression>, }, Committer { needle: String, candidates: Rc<RevsetExpression>, }, Union(Rc<RevsetExpression>, Rc<RevsetExpression>), Intersection(Rc<RevsetExpression>, Rc<RevsetExpression>), Difference(Rc<RevsetExpression>, Rc<RevsetExpression>),
}

Variants

None

Commits(Vec<CommitId>)

Symbol(String)

Parents(Rc<RevsetExpression>)

Children(Rc<RevsetExpression>)

Ancestors(Rc<RevsetExpression>)

Range

Fields

DagRange

Fields

Heads

HeadsOf(Rc<RevsetExpression>)

PublicHeads

Branches

RemoteBranches

Tags

GitRefs

GitHead

ParentCount

Fields

candidates: Rc<RevsetExpression>
parent_count_range: Range<u32>

Description

Fields

needle: String
candidates: Rc<RevsetExpression>

Author

Fields

needle: String
candidates: Rc<RevsetExpression>

Committer

Fields

needle: String
candidates: Rc<RevsetExpression>

Union(Rc<RevsetExpression>, Rc<RevsetExpression>)

Intersection(Rc<RevsetExpression>, Rc<RevsetExpression>)

Difference(Rc<RevsetExpression>, Rc<RevsetExpression>)

Implementations

Commits in self that don’t have descendants in self.

Parents of self.

Ancestors of self, including self.

Children of self.

Descendants of self, including self.

Commits that are descendants of self and ancestors of heads, both inclusive.

Commits reachable from heads but not from self.

Commits in self with number of parents in the given range.

Commits in self with description containing needle.

Commits in self with author’s name or email containing needle.

Commits in self with committer’s name or email containing needle.

Commits that are in self or in other (or both).

Commits that are in self and in other.

Commits that are in self but not in other.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.