pub struct PrintLog { /* private fields */ }Expand description
Basic log system that prints out messages to stderr without storing them
Implementations§
Trait Implementations§
Source§impl LogStatus for PrintLog
impl LogStatus for PrintLog
fn num_notes(&self) -> usize
fn num_warnings(&self) -> usize
fn num_errors(&self) -> usize
fn has_no_errors(&self) -> bool
fn has_no_warnings(&self) -> bool
fn get_messages(&self) -> impl Iterator<Item = &LogMsg>
fn get_messages_str(&self) -> String
fn get_notes(&self) -> impl Iterator<Item = &String>
fn get_warnings(&self) -> impl Iterator<Item = &String>
fn get_errors(&self) -> impl Iterator<Item = &String>
Auto Trait Implementations§
impl Freeze for PrintLog
impl RefUnwindSafe for PrintLog
impl Send for PrintLog
impl Sync for PrintLog
impl Unpin for PrintLog
impl UnwindSafe for PrintLog
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