Struct guppy_summaries::diff::SummaryReport
source · [−]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
sourceimpl<'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
sourceimpl<'a, 'b> Clone for SummaryReport<'a, 'b>
impl<'a, 'b> Clone for SummaryReport<'a, 'b>
sourcefn clone(&self) -> SummaryReport<'a, 'b>
fn clone(&self) -> SummaryReport<'a, 'b>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a, 'b> Debug for SummaryReport<'a, 'b>
impl<'a, 'b> Debug for SummaryReport<'a, 'b>
Auto Trait Implementations
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> where
'a: 'b,
impl<'a, 'b> UnwindSafe for SummaryReport<'a, 'b>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more