[][src]Struct vulkano::instance::debug::MessageSeverity

pub struct MessageSeverity {
    pub error: bool,
    pub warning: bool,
    pub information: bool,
    pub verbose: bool,
}

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

impl MessageSeverity[src]

pub fn errors() -> MessageSeverity[src]

Builds a MessageSeverity with all fields set to false expect error.

pub fn errors_and_warnings() -> MessageSeverity[src]

Builds a MessageSeverity with all fields set to false expect error, warning and performance_warning.

pub fn none() -> MessageSeverity[src]

Builds a MessageSeverity with all fields set to false.

Trait Implementations

impl Clone for MessageSeverity[src]

impl Copy for MessageSeverity[src]

impl Debug for MessageSeverity[src]

impl Eq for MessageSeverity[src]

impl Hash for MessageSeverity[src]

impl PartialEq<MessageSeverity> for MessageSeverity[src]

impl StructuralEq for MessageSeverity[src]

impl StructuralPartialEq for MessageSeverity[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.