#[repr(i32)]pub enum MessageType {
Error = 1,
Warning = 2,
Info = 3,
Log = 4,
}Expand description
The priority of a message which is either logged or shown to the user.
On debug builds, all messages are shown.
On release builds, only messages with a priority of Info or higher are shown.
Variants§
Trait Implementations§
Source§impl Debug for MessageType
impl Debug for MessageType
Auto Trait Implementations§
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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