Enum luminance_glfw::InitError
[−]
pub enum InitError { AlreadyInitialized, Internal, }
An error that might be returned when glfw::init
is called.
Variants
AlreadyInitialized
The library was already initialized.
Internal
An internal error occurred when trying to initialize the library.
Trait Implementations
impl Copy for InitError
impl Debug for InitError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Hash for InitError
impl PartialOrd<InitError> for InitError
fn partial_cmp(&self, __arg_0: &InitError) -> Option<Ordering>
impl Error for InitError
fn description(&self) -> &str
impl Eq for InitError
impl PartialEq<InitError> for InitError
fn eq(&self, __arg_0: &InitError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Clone for InitError
fn clone(&self) -> InitError
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