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

pub struct MessageTypes {
    pub error: bool,
    pub warning: bool,
    pub performance_warning: bool,
    pub information: bool,
    pub debug: bool,
}

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]

fn errors() -> MessageTypes

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

fn errors_and_warnings() -> MessageTypes

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

fn none() -> MessageTypes

Builds a MessageTypes with all fields set to false.

Trait Implementations

impl Hash for MessageTypes
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for MessageTypes
[src]

impl PartialEq for MessageTypes
[src]

fn eq(&self, __arg_0: &MessageTypes) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &MessageTypes) -> bool

This method tests for !=.

impl Clone for MessageTypes
[src]

fn clone(&self) -> MessageTypes

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for MessageTypes
[src]

impl Debug for MessageTypes
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.