pub struct CloneRegion {
pub a: RegionSide,
pub b: RegionSide,
pub seeds: usize,
}Expand description
A maximal shared statement run between two units.
The two sides hold the same statement summaries, statement for statement,
so a.run.length == b.run.length always.
Fields§
§a: RegionSideThe lower side, by fragment order.
b: RegionSideThe higher side.
seeds: usizeHow many seed matches folded into this region.
Trait Implementations§
Source§impl Clone for CloneRegion
impl Clone for CloneRegion
Source§fn clone(&self) -> CloneRegion
fn clone(&self) -> CloneRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CloneRegion
Source§impl Debug for CloneRegion
impl Debug for CloneRegion
impl Eq for CloneRegion
Source§impl Ord for CloneRegion
impl Ord for CloneRegion
Source§fn cmp(&self, other: &CloneRegion) -> Ordering
fn cmp(&self, other: &CloneRegion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CloneRegion
impl PartialEq for CloneRegion
Source§impl PartialOrd for CloneRegion
impl PartialOrd for CloneRegion
impl StructuralPartialEq for CloneRegion
Auto Trait Implementations§
impl Freeze for CloneRegion
impl RefUnwindSafe for CloneRegion
impl Send for CloneRegion
impl Sync for CloneRegion
impl Unpin for CloneRegion
impl UnsafeUnpin for CloneRegion
impl UnwindSafe for CloneRegion
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.