Expand description
Type of message.
Fields
general: bool
Specifies that some general event has occurred.
validation: bool
Specifies that something has occurred during validation against the vulkan specification
performance: bool
Specifies a potentially non-optimal use of Vulkan
Implementations
sourceimpl MessageType
impl MessageType
sourcepub const fn general() -> MessageType
pub const fn general() -> MessageType
Builds a MessageType
with general field set to true
.
sourcepub const fn validation() -> MessageType
pub const fn validation() -> MessageType
Builds a MessageType
with validation field set to true
.
sourcepub const fn performance() -> MessageType
pub const fn performance() -> MessageType
Builds a MessageType
with performance field set to true
.
sourcepub const fn all() -> MessageType
pub const fn all() -> MessageType
Builds a MessageType
with all fields set to true
.
sourcepub const fn none() -> MessageType
pub const fn none() -> MessageType
Builds a MessageType
with all fields set to false
.
Trait Implementations
sourceimpl BitOr<MessageType> for MessageType
impl BitOr<MessageType> for MessageType
sourceimpl Clone for MessageType
impl Clone for MessageType
sourcefn clone(&self) -> MessageType
fn clone(&self) -> MessageType
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 more
sourceimpl Debug for MessageType
impl Debug for MessageType
sourceimpl Hash for MessageType
impl Hash for MessageType
sourceimpl PartialEq<MessageType> for MessageType
impl PartialEq<MessageType> for MessageType
sourcefn eq(&self, other: &MessageType) -> bool
fn eq(&self, other: &MessageType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MessageType) -> bool
fn ne(&self, other: &MessageType) -> bool
This method tests for !=
.
impl Copy for MessageType
impl Eq for MessageType
impl StructuralEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more