Enum spirv_tools_sys::diagnostics::MessageLevel
source · [−]#[repr(C)]
pub enum MessageLevel {
Fatal,
InternalError,
Error,
Warning,
Info,
Debug,
}
Variants
Fatal
Unrecoverable error due to environment. Will exit the program immediately. E.g., out of memory.
InternalError
Unrecoverable error due to SPIRV-Tools internals. Will exit the program immediately. E.g., unimplemented feature.
Error
Normal error due to user input.
Warning
Warning information.
Info
General information.
Debug
Debug information.
Trait Implementations
sourceimpl Clone for MessageLevel
impl Clone for MessageLevel
sourcefn clone(&self) -> MessageLevel
fn clone(&self) -> MessageLevel
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageLevel
impl Debug for MessageLevel
sourceimpl PartialEq<MessageLevel> for MessageLevel
impl PartialEq<MessageLevel> for MessageLevel
sourcefn eq(&self, other: &MessageLevel) -> bool
fn eq(&self, other: &MessageLevel) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more