pub struct Summary {
pub files: usize,
pub total_hunks: usize,
pub visible_hunks: usize,
pub hidden_hunks: usize,
pub fully_hidden_files: usize,
pub filtered_files: usize,
pub unsupported_files: usize,
pub partial_files: usize,
pub test_block_files: usize,
}Expand description
Totals across the files visible under one choice of layers.
Fields§
§files: usize§total_hunks: usize§visible_hunks: usizeFiles with changes, none of them visible under these layers.
filtered_files: usizeFiles left out by the test layer: test files when hidden, the rest when only.
unsupported_files: usize§partial_files: usize§test_block_files: usizeListed files with test blocks inside them (Rust’s #[cfg(test)] modules).
Implementations§
Trait Implementations§
impl Copy for Summary
impl Eq for Summary
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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