Struct vulkano::instance::debug::DebugUtilsMessageSeverity
source · pub struct DebugUtilsMessageSeverity(/* private fields */);
Expand description
Severity of message.
Implementations§
source§impl DebugUtilsMessageSeverity
impl DebugUtilsMessageSeverity
sourcepub const ERROR: Self = _
pub const ERROR: Self = _
An error that may cause undefined results, including an application crash.
sourcepub const INFO: Self = _
pub const INFO: Self = _
An informational message that may be handy when debugging an application.
sourcepub const fn none() -> Self
👎Deprecated since 0.31.0: use empty
instead
pub const fn none() -> Self
empty
insteadReturns 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 that are set in self
or other
, but not in both.
Trait Implementations§
source§impl BitAnd for DebugUtilsMessageSeverity
impl BitAnd for DebugUtilsMessageSeverity
source§impl BitAndAssign for DebugUtilsMessageSeverity
impl BitAndAssign for DebugUtilsMessageSeverity
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for DebugUtilsMessageSeverity
impl BitOr for DebugUtilsMessageSeverity
source§impl BitOrAssign for DebugUtilsMessageSeverity
impl BitOrAssign for DebugUtilsMessageSeverity
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for DebugUtilsMessageSeverity
impl BitXor for DebugUtilsMessageSeverity
source§impl BitXorAssign for DebugUtilsMessageSeverity
impl BitXorAssign for DebugUtilsMessageSeverity
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for DebugUtilsMessageSeverity
impl Clone for DebugUtilsMessageSeverity
source§fn clone(&self) -> DebugUtilsMessageSeverity
fn clone(&self) -> DebugUtilsMessageSeverity
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 DebugUtilsMessageSeverity
impl Debug for DebugUtilsMessageSeverity
source§impl Default for DebugUtilsMessageSeverity
impl Default for DebugUtilsMessageSeverity
source§impl From<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverityFlagsEXT
impl From<DebugUtilsMessageSeverity> for DebugUtilsMessageSeverityFlagsEXT
source§fn from(val: DebugUtilsMessageSeverity) -> Self
fn from(val: DebugUtilsMessageSeverity) -> Self
Converts to this type from the input type.
source§impl From<DebugUtilsMessageSeverityFlagsEXT> for DebugUtilsMessageSeverity
impl From<DebugUtilsMessageSeverityFlagsEXT> for DebugUtilsMessageSeverity
source§fn from(val: DebugUtilsMessageSeverityFlagsEXT) -> Self
fn from(val: DebugUtilsMessageSeverityFlagsEXT) -> Self
Converts to this type from the input type.
source§impl Hash for DebugUtilsMessageSeverity
impl Hash for DebugUtilsMessageSeverity
source§impl PartialEq for DebugUtilsMessageSeverity
impl PartialEq for DebugUtilsMessageSeverity
source§fn eq(&self, other: &DebugUtilsMessageSeverity) -> bool
fn eq(&self, other: &DebugUtilsMessageSeverity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for DebugUtilsMessageSeverity
impl Sub for DebugUtilsMessageSeverity
source§impl SubAssign for DebugUtilsMessageSeverity
impl SubAssign for DebugUtilsMessageSeverity
source§fn 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§
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