Enum spectra::bootstrap::DeviceError []

pub enum DeviceError {
    InitError(InitError),
    WindowCreationFailed,
    NoPrimaryMonitor,
    NoVideoMode,
}

Error that can be risen while creating a Device object.

Variants

Trait Implementations

impl Copy for DeviceError

impl Eq for DeviceError

impl PartialEq<DeviceError> for DeviceError

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

This method tests for !=.

impl Debug for DeviceError

Formats the value using the given formatter.

impl Clone for DeviceError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more