pub struct Markers {
pub head: BTreeMap<String, FileMarkers>,
pub base: BTreeMap<String, FileMarkers>,
}Expand description
The source markers found on each side of the comparison.
ignore regions never reach here — they are applied as a filter on the
reports themselves before analysis, so their lines simply do not exist by
this point. What remains is tolerate, which needs the analysis to know
which head lines to score against the baseline instead of against the head
run.
Only the head tolerated set drives masking. The base side is carried for reporting only: a tolerated base line whose region disappeared in head has nothing left to mask, and one that survives is reached through its head counterpart anyway.
Fields§
§head: BTreeMap<String, FileMarkers>Head-revision markers, keyed by repo-relative head path.
base: BTreeMap<String, FileMarkers>Base-revision markers, keyed by repo-relative base path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Markers
impl RefUnwindSafe for Markers
impl Send for Markers
impl Sync for Markers
impl Unpin for Markers
impl UnsafeUnpin for Markers
impl UnwindSafe for Markers
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more