pub struct TextReporter {
pub base_path: Option<PathBuf>,
}Fields§
§base_path: Option<PathBuf>Base path for displaying relative paths.
Implementations§
Trait Implementations§
Source§impl Reporter for TextReporter
impl Reporter for TextReporter
fn report_stats( &self, stats: &DuplicationStats, writer: &mut dyn Write, ) -> Result<()>
fn report_exact( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
fn report_near( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
fn report_sub_exact( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
fn report_sub_near( &self, groups: &[DuplicateGroup], writer: &mut dyn Write, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for TextReporter
impl RefUnwindSafe for TextReporter
impl Send for TextReporter
impl Sync for TextReporter
impl Unpin for TextReporter
impl UnsafeUnpin for TextReporter
impl UnwindSafe for TextReporter
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