Enum vulkano::command_buffer::submit::SubmitPresentError
[−]
[src]
#[repr(u32)]pub enum SubmitPresentError { OomError(OomError), DeviceLost, SurfaceLost, OutOfDate, }
Error that can happen when submitting the present prototype.
Variants
OomError(OomError)
Not enough memory.
DeviceLost
The connection to the device has been lost.
SurfaceLost
The surface is no longer accessible and must be recreated.
OutOfDate
The surface has changed in a way that makes the swapchain unusable. You must query the surface's new properties and recreate a new swapchain if you want to continue drawing.
Trait Implementations
impl Copy for SubmitPresentError
[src]
impl Clone for SubmitPresentError
[src]
fn clone(&self) -> SubmitPresentError
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
impl Debug for SubmitPresentError
[src]
impl PartialEq for SubmitPresentError
[src]
fn eq(&self, __arg_0: &SubmitPresentError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SubmitPresentError) -> bool
This method tests for !=
.
impl Eq for SubmitPresentError
[src]
impl Error for SubmitPresentError
[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 SubmitPresentError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Error> for SubmitPresentError
[src]
fn from(err: Error) -> SubmitPresentError
Performs the conversion.