Struct jj_lib::op_walk::ReparentStats
source · pub struct ReparentStats {
pub new_head_ids: Vec<OperationId>,
pub rewritten_count: usize,
pub unreachable_count: usize,
}
Expand description
Stats about reparent_range()
.
Fields§
§new_head_ids: Vec<OperationId>
New head operation ids.
rewritten_count: usize
The number of rewritten operations.
unreachable_count: usize
The number of ancestor operations that become unreachable from the rewritten heads.
Trait Implementations§
source§impl Clone for ReparentStats
impl Clone for ReparentStats
source§fn clone(&self) -> ReparentStats
fn clone(&self) -> ReparentStats
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 ReparentStats
impl Debug for ReparentStats
source§impl PartialEq for ReparentStats
impl PartialEq for ReparentStats
source§fn eq(&self, other: &ReparentStats) -> bool
fn eq(&self, other: &ReparentStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReparentStats
impl StructuralPartialEq for ReparentStats
Auto Trait Implementations§
impl RefUnwindSafe for ReparentStats
impl Send for ReparentStats
impl Sync for ReparentStats
impl Unpin for ReparentStats
impl UnwindSafe for ReparentStats
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