pub struct FilePatch {
pub path: String,
pub patch: PatchCoverage,
pub uncovered_lines: Vec<u32>,
}Expand description
Patch coverage for a single file.
Fields§
§path: StringRepo-relative head path.
patch: PatchCoverageCovered/uncovered tally over this file’s added lines.
uncovered_lines: Vec<u32>New-side line numbers that were added but are uncovered.
Trait Implementations§
impl Eq for FilePatch
impl StructuralPartialEq for FilePatch
Auto Trait Implementations§
impl Freeze for FilePatch
impl RefUnwindSafe for FilePatch
impl Send for FilePatch
impl Sync for FilePatch
impl Unpin for FilePatch
impl UnsafeUnpin for FilePatch
impl UnwindSafe for FilePatch
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.