pub struct DebugUtilsMessageSeverity {
pub error: bool,
pub warning: bool,
pub information: bool,
pub verbose: bool,
pub _ne: NonExhaustive,
}
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.
_ne: NonExhaustive
Implementations
sourceimpl DebugUtilsMessageSeverity
impl DebugUtilsMessageSeverity
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: Use empty
instead.
pub const fn none() -> Self
empty
instead.Returns a DebugUtilsMessageSeverity
with none of the flags set.
sourcepub const fn intersects(&self, other: &Self) -> bool
pub const fn intersects(&self, other: &Self) -> bool
Returns whether any flags are set in both self
and other
.
sourcepub const fn contains(&self, other: &Self) -> bool
pub const fn contains(&self, other: &Self) -> bool
Returns whether all flags in other
are set in self
.
sourcepub const fn intersection(&self, other: &Self) -> Self
pub const fn intersection(&self, other: &Self) -> Self
Returns the intersection of self
and other
.
sourcepub const fn difference(&self, other: &Self) -> Self
pub const fn difference(&self, other: &Self) -> Self
Returns self
without the flags set in other
.
sourcepub const fn symmetric_difference(&self, other: &Self) -> Self
pub const fn symmetric_difference(&self, other: &Self) -> Self
Returns the flags set in self
or other
, but not both.
Trait Implementations
sourceimpl BitAnd<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl BitAnd<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
The resulting type after applying the
&
operator.sourceimpl BitAndAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl BitAndAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresourceimpl BitOr<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl BitOr<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
The resulting type after applying the
|
operator.sourceimpl BitOrAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl BitOrAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresourceimpl BitXor<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl BitXor<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
The resulting type after applying the
^
operator.sourceimpl BitXorAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl BitXorAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresourceimpl Clone for DebugUtilsMessageSeverity
impl Clone for DebugUtilsMessageSeverity
sourcefn clone(&self) -> DebugUtilsMessageSeverity
fn clone(&self) -> DebugUtilsMessageSeverity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DebugUtilsMessageSeverity
impl Debug for DebugUtilsMessageSeverity
sourceimpl Default for DebugUtilsMessageSeverity
impl Default for DebugUtilsMessageSeverity
sourceimpl From<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverityFlagsEXT
impl From<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverityFlagsEXT
sourcefn from(val: DebugUtilsMessageSeverity) -> Self
fn from(val: DebugUtilsMessageSeverity) -> Self
Converts to this type from the input type.
sourceimpl From<DebugUtilsMessageSeverityFlagsEXT> for DebugUtilsMessageSeverity
impl From<DebugUtilsMessageSeverityFlagsEXT> for DebugUtilsMessageSeverity
sourcefn from(val: DebugUtilsMessageSeverityFlagsEXT) -> Self
fn from(val: DebugUtilsMessageSeverityFlagsEXT) -> Self
Converts to this type from the input type.
sourceimpl Hash for DebugUtilsMessageSeverity
impl Hash for DebugUtilsMessageSeverity
sourceimpl PartialEq<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl PartialEq<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
sourcefn eq(&self, other: &DebugUtilsMessageSeverity) -> bool
fn eq(&self, other: &DebugUtilsMessageSeverity) -> bool
sourceimpl Sub<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl Sub<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
type Output = DebugUtilsMessageSeverity
The resulting type after applying the
-
operator.sourceimpl SubAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
impl SubAssign<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverity
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for DebugUtilsMessageSeverity
impl Eq for DebugUtilsMessageSeverity
impl StructuralEq for DebugUtilsMessageSeverity
impl StructuralPartialEq for DebugUtilsMessageSeverity
Auto Trait Implementations
impl RefUnwindSafe for DebugUtilsMessageSeverity
impl Send for DebugUtilsMessageSeverity
impl Sync for DebugUtilsMessageSeverity
impl Unpin for DebugUtilsMessageSeverity
impl UnwindSafe for DebugUtilsMessageSeverity
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