pub struct Stats { /* private fields */ }
Expand description
Statistics about a run of DirectoryPatcher
Implementations§
source§impl Stats
impl Stats
sourcepub fn matching_files(&self) -> usize
pub fn matching_files(&self) -> usize
Number of matching files
sourcepub fn matching_lines(&self) -> usize
pub fn matching_lines(&self) -> usize
Total number of lines that were replaced
sourcepub fn total_replacements(&self) -> usize
pub fn total_replacements(&self) -> usize
Total number of lines that were replaced
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
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