pub enum ReportType {
Info,
Warning,
Error,
}
Expand description
A helper enumeration of different “report” (log level) types.
TODO: We should play nice with the log
crate.
This enumeration is used in the ReportingColors
trait, for if you want
to use the tcreport!()
macro with a custom color palette type.
Variants§
Trait Implementations§
Source§impl Clone for ReportType
impl Clone for ReportType
Source§fn clone(&self) -> ReportType
fn clone(&self) -> ReportType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReportType
impl Debug for ReportType
Source§impl PartialEq for ReportType
impl PartialEq for ReportType
impl Copy for ReportType
impl Eq for ReportType
impl StructuralPartialEq for ReportType
Auto Trait Implementations§
impl Freeze for ReportType
impl RefUnwindSafe for ReportType
impl Send for ReportType
impl Sync for ReportType
impl Unpin for ReportType
impl UnwindSafe for ReportType
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