pub struct MessageSeverity {
pub error: bool,
pub warning: bool,
pub information: bool,
pub verbose: bool,
}
Expand description
Severity of message.
Fields
error: bool
An error that may cause undefined results, including an application crash.
warning: bool
An unexpected use.
information: bool
An informational message that may be handy when debugging an application.
verbose: bool
Diagnostic information from the loader and layers.
Implementations
Builds a MessageSeverity
with all fields set to false
expect error
.
Builds a MessageSeverity
with all fields set to false
expect warning
.
Builds a MessageSeverity
with all fields set to false
expect information
.
Builds a MessageSeverity
with all fields set to false
expect verbose
.
Builds a MessageSeverity
with all fields set to false
expect error
, warning
and performance_warning
.
Builds a MessageSeverity
with all fields set to false
.
Builds a MessageSeverity
with all fields set to true
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MessageSeverity
impl Send for MessageSeverity
impl Sync for MessageSeverity
impl Unpin for MessageSeverity
impl UnwindSafe for MessageSeverity
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.