Enum spectra::bootstrap::DeviceError
[−]
pub enum DeviceError { InitError(InitError), WindowCreationFailed, NoPrimaryMonitor, NoVideoMode, }
Error that can be risen while creating a Device
object.
Variants
InitError(InitError)
WindowCreationFailed
NoPrimaryMonitor
NoVideoMode
Trait Implementations
impl Copy for DeviceError
impl Eq for DeviceError
impl PartialEq<DeviceError> for DeviceError
fn eq(&self, __arg_0: &DeviceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeviceError) -> bool
This method tests for !=
.
impl Debug for DeviceError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for DeviceError
fn clone(&self) -> DeviceError
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