pub struct Report { /* private fields */ }
Implementations§
source§impl Report
impl Report
pub fn new() -> Report
pub fn transfer_to(&mut self, other: &mut Report)
pub fn wrap_in_parents_capped(&self, msg: Message) -> Message
pub fn wrap_in_parents(&self, msg: Message) -> Message
pub fn wrap_in_parents_dedup(&self, msg: Message) -> Message
pub fn message(&mut self, msg: Message)
pub fn message_with_parents_dedup(&mut self, msg: Message)
pub fn push_multiple(&mut self, msgs: Vec<Message>)
pub fn stop_at_errors(&self) -> Result<(), ()>
pub fn error<S>(&mut self, descr: S)
pub fn error_span<S>(&mut self, descr: S, span: Span)
pub fn warning<S>(&mut self, descr: S)
pub fn warning_span<S>(&mut self, descr: S, span: Span)
pub fn note<S>(&mut self, descr: S)
pub fn note_span<S>(&mut self, descr: S, span: Span)
pub fn push_parent<S>(&mut self, descr: S, span: Span)
pub fn push_parent_note<S>(&mut self, descr: S, span: Span)
pub fn push_parent_short_note<S>(&mut self, descr: S, span: Span)
pub fn pop_parent(&mut self)
pub fn push_parent_cap(&mut self)
pub fn pop_parent_cap(&mut self)
pub fn len(&self) -> usize
pub fn len_with_inner(&self) -> usize
pub fn has_messages(&self) -> bool
pub fn has_errors(&self) -> bool
pub fn has_message_at( &self, fileserver: &mut dyn FileServer, filename: &str, kind: MessageKind, line: usize, error_excerpt: &str ) -> bool
pub fn has_error_at( &self, fileserver: &mut dyn FileServer, filename: &str, line: usize, error_excerpt: &str ) -> bool
pub fn has_first_error_at( &self, fileserver: &mut dyn FileServer, filename: &str, line: usize, error_excerpt: &str ) -> bool
pub fn print_all( &self, writer: &mut dyn Write, fileserver: &dyn FileServer, use_colors: bool )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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