Enum nannou::ui::backend::glium::glium::debug::DebugCallbackBehavior[][src]

pub enum DebugCallbackBehavior {
    Ignore,
    DebugMessageOnError,
    PrintAll,
    Custom {
        callback: Box<FnMut(Source, MessageType, Severity, u32, bool, &str) + 'static>,
        synchronous: bool,
    },
}

Describes the behavior that the debug output should have.

Variants

Don't do anything. This is the default behavior in release.

Print a message on stdout on error, except in some circumstances like when compiling shaders. This is the default behavior in debug mode.

Print every single output received by the driver.

Use a custom callback.

Fields of Custom

The function to be called.

Whether or not it should be called immediately (true) or asynchronously (false).

Trait Implementations

impl Default for DebugCallbackBehavior
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations