Enum glutin::WindowCreationError [−][src]
pub enum WindowCreationError {
OsError(String),
NotSupported,
}Error that can happen while creating a window or a headless renderer.
Variants
OsError(String)NotSupportedTODO: remove this error
Trait Implementations
impl Clone for CreationError[src]
impl Clone for CreationErrorfn clone(&self) -> CreationError[src]
fn clone(&self) -> CreationErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for CreationError[src]
impl Debug for CreationErrorfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Error for CreationError[src]
impl Error for CreationErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for CreationError[src]
impl Display for CreationErrorfn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl From<WindowCreationError> for CreationError[src]
impl From<WindowCreationError> for CreationErrorfn from(err: WindowCreationError) -> Self[src]
fn from(err: WindowCreationError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for CreationError
impl Send for CreationErrorimpl Sync for CreationError
impl Sync for CreationError