Enum vulkano_win::CreationError
[−]
[src]
pub enum CreationError { SurfaceCreationError(SurfaceCreationError), WindowCreationError(WindowCreationError), }
Error that can happen when creating a window.
Variants
SurfaceCreationError(SurfaceCreationError)
Error when creating the surface.
WindowCreationError(WindowCreationError)
Error when creating the window.
Trait Implementations
impl Debug for CreationError
[src]
impl Error for CreationError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for CreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<SurfaceCreationError> for CreationError
[src]
fn from(err: SurfaceCreationError) -> CreationError
Performs the conversion.
impl From<WindowCreationError> for CreationError
[src]
fn from(err: WindowCreationError) -> CreationError
Performs the conversion.