Struct jj_lib::default_index::revset_engine::RevsetImpl
source · pub struct RevsetImpl<I> { /* private fields */ }
Implementations§
source§impl<I: AsCompositeIndex> RevsetImpl<I>
impl<I: AsCompositeIndex> RevsetImpl<I>
pub fn iter_graph_impl(&self) -> RevsetGraphIterator<'_, '_> ⓘ
Trait Implementations§
source§impl<I> Debug for RevsetImpl<I>
impl<I> Debug for RevsetImpl<I>
source§impl<I: AsCompositeIndex> Revset for RevsetImpl<I>
impl<I: AsCompositeIndex> Revset for RevsetImpl<I>
source§fn iter(&self) -> Box<dyn Iterator<Item = CommitId> + '_>
fn iter(&self) -> Box<dyn Iterator<Item = CommitId> + '_>
Iterate in topological order with children before parents.
source§fn commit_change_ids(
&self
) -> Box<dyn Iterator<Item = (CommitId, ChangeId)> + '_>
fn commit_change_ids( &self ) -> Box<dyn Iterator<Item = (CommitId, ChangeId)> + '_>
Iterates commit/change id pairs in topological order.
fn iter_graph( &self ) -> Box<dyn Iterator<Item = (CommitId, Vec<RevsetGraphEdge>)> + '_>
fn is_empty(&self) -> bool
source§fn count_estimate(&self) -> (usize, Option<usize>)
fn count_estimate(&self) -> (usize, Option<usize>)
Inclusive lower bound and, optionally, inclusive upper bound of how many
commits are in the revset. The implementation can use its discretion as
to how much effort should be put into the estimation, and how accurate
the resulting estimate should be.
Auto Trait Implementations§
impl<I> !RefUnwindSafe for RevsetImpl<I>
impl<I> !Send for RevsetImpl<I>
impl<I> !Sync for RevsetImpl<I>
impl<I> Unpin for RevsetImpl<I>where
I: Unpin,
impl<I> !UnwindSafe for RevsetImpl<I>
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