Enum gfx_window_sdl::InitError
[−]
[src]
pub enum InitError { PixelFormatUnsupportedError, WindowBuildError(WindowBuildError), SdlError(String), }
Variants
PixelFormatUnsupportedError
WindowBuildError(WindowBuildError)
SdlError(String)
Trait Implementations
impl Debug for InitError
[src]
impl Display for InitError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for InitError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<String> for InitError
[src]
impl From<WindowBuildError> for InitError
[src]
fn from(e: WindowBuildError) -> Self
[src]
Performs the conversion.