pub struct SummaryReport<'a, 'b> { /* private fields */ }
Expand description
A report of a diff between two summaries.
This report can be generated or written to a file through fmt::Display
.
Implementations§
Source§impl<'a, 'b> SummaryReport<'a, 'b>
impl<'a, 'b> SummaryReport<'a, 'b>
Sourcepub fn new(diff: &'b SummaryDiff<'a>) -> Self
pub fn new(diff: &'b SummaryDiff<'a>) -> Self
Creates a new SummaryReport
that can be displayed.
Trait Implementations§
Source§impl<'a, 'b> Clone for SummaryReport<'a, 'b>
impl<'a, 'b> Clone for SummaryReport<'a, 'b>
Source§fn clone(&self) -> SummaryReport<'a, 'b>
fn clone(&self) -> SummaryReport<'a, 'b>
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<'a, 'b> Debug for SummaryReport<'a, 'b>
impl<'a, 'b> Debug for SummaryReport<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for SummaryReport<'a, 'b>
impl<'a, 'b> RefUnwindSafe for SummaryReport<'a, 'b>
impl<'a, 'b> Send for SummaryReport<'a, 'b>
impl<'a, 'b> Sync for SummaryReport<'a, 'b>
impl<'a, 'b> Unpin for SummaryReport<'a, 'b>
impl<'a, 'b> UnwindSafe for SummaryReport<'a, 'b>
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> 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