#[repr(C)]pub enum MessageLevel {
Fatal = 0,
InternalError = 1,
Error = 2,
Warning = 3,
Info = 4,
Debug = 5,
}
Variants§
Fatal = 0
Unrecoverable error due to environment. Will exit the program immediately. E.g., out of memory.
InternalError = 1
Unrecoverable error due to SPIRV-Tools internals. Will exit the program immediately. E.g., unimplemented feature.
Error = 2
Normal error due to user input.
Warning = 3
Warning information.
Info = 4
General information.
Debug = 5
Debug information.
Trait Implementations§
Source§impl Clone for MessageLevel
impl Clone for MessageLevel
Source§fn clone(&self) -> MessageLevel
fn clone(&self) -> MessageLevel
Returns a copy 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 MessageLevel
impl Debug for MessageLevel
Source§impl PartialEq for MessageLevel
impl PartialEq for MessageLevel
impl Copy for MessageLevel
impl StructuralPartialEq for MessageLevel
Auto Trait Implementations§
impl Freeze for MessageLevel
impl RefUnwindSafe for MessageLevel
impl Send for MessageLevel
impl Sync for MessageLevel
impl Unpin for MessageLevel
impl UnwindSafe for MessageLevel
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