[−][src]Struct vulkano::instance::debug::MessageTypes
Type of message.
Fields
error: bool
An error that may cause undefined results, including an application crash.
warning: bool
An unexpected use.
performance_warning: bool
A potential non-optimal use.
information: bool
An informational message that may be handy when debugging an application.
debug: bool
Diagnostic information from the loader and layers.
Methods
impl MessageTypes
[src]
pub fn errors() -> MessageTypes
[src]
Builds a MessageTypes
with all fields set to false
expect error
.
pub fn errors_and_warnings() -> MessageTypes
[src]
Builds a MessageTypes
with all fields set to false
expect error
, warning
and performance_warning
.
pub fn none() -> MessageTypes
[src]
Builds a MessageTypes
with all fields set to false
.
Trait Implementations
impl Eq for MessageTypes
[src]
impl PartialEq<MessageTypes> for MessageTypes
[src]
fn eq(&self, other: &MessageTypes) -> bool
[src]
fn ne(&self, other: &MessageTypes) -> bool
[src]
impl Copy for MessageTypes
[src]
impl Clone for MessageTypes
[src]
fn clone(&self) -> MessageTypes
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for MessageTypes
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for MessageTypes
[src]
Auto Trait Implementations
impl Sync for MessageTypes
impl Send for MessageTypes
impl Unpin for MessageTypes
impl RefUnwindSafe for MessageTypes
impl UnwindSafe for MessageTypes
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,