pub struct IndirectChange {
pub path: String,
pub base_line: u32,
pub head_line: u32,
pub became_covered: bool,
}Expand description
A line whose coverage status flipped without its content changing.
Fields§
§path: StringRepo-relative head path.
base_line: u32Base-side line number.
head_line: u32Head-side line number the base line maps to.
became_covered: booltrue if uncovered→covered, false if covered→uncovered.
Trait Implementations§
Source§impl Clone for IndirectChange
impl Clone for IndirectChange
Source§fn clone(&self) -> IndirectChange
fn clone(&self) -> IndirectChange
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 moreSource§impl Debug for IndirectChange
impl Debug for IndirectChange
impl Eq for IndirectChange
Source§impl PartialEq for IndirectChange
impl PartialEq for IndirectChange
Source§fn eq(&self, other: &IndirectChange) -> bool
fn eq(&self, other: &IndirectChange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndirectChange
Auto Trait Implementations§
impl Freeze for IndirectChange
impl RefUnwindSafe for IndirectChange
impl Send for IndirectChange
impl Sync for IndirectChange
impl Unpin for IndirectChange
impl UnsafeUnpin for IndirectChange
impl UnwindSafe for IndirectChange
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> 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.