pub struct Reporter { /* private fields */ }Implementations§
Source§impl Reporter
impl Reporter
pub fn new( harsh_mode: bool, verbose: bool, max_issues_per_file: usize, summary_only: bool, brief: bool, markdown: bool, lang: &str, roast_provider: Box<dyn RoastProvider>, ) -> Self
pub fn with_friend_feedback(self, show: bool) -> Self
pub fn with_direct_scores(self, scores: HashMap<StyleSignal, f64>) -> Self
pub fn with_style_ir_summary(self, summary: Option<StyleIrSummary>) -> Self
pub fn report_with_metrics( &self, issues: Vec<CodeIssue>, file_count: usize, total_lines: usize, )
pub fn report_with_spread( &self, issues: Vec<CodeIssue>, file_count: usize, total_lines: usize, spread: &HashMap<String, Vec<(String, usize, Vec<String>)>>, )
Auto Trait Implementations§
impl Freeze for Reporter
impl !RefUnwindSafe for Reporter
impl !Send for Reporter
impl !Sync for Reporter
impl Unpin for Reporter
impl UnsafeUnpin for Reporter
impl !UnwindSafe for Reporter
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