Enum spirv_tools::error::MessageLevel
source · #[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
source§fn eq(&self, other: &MessageLevel) -> bool
fn eq(&self, other: &MessageLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MessageLevel
impl StructuralPartialEq for MessageLevel
Auto Trait Implementations§
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