Enum vulkano::swapchain::FullscreenExclusiveError [−][src]
#[repr(u32)]
pub enum FullscreenExclusiveError {
OomError(OomError),
InitializationFailed,
SurfaceLost,
DoubleAcquire,
DoubleRelease,
NotAppControlled,
}
Expand description
Error that can happen when calling Swapchain::acquire_fullscreen_exclusive
or Swapchain::release_fullscreen_exclusive
Variants
OomError(OomError)
Not enough memory.
Tuple Fields of OomError
0: OomError
Operation could not be completed for driver specific reasons.
The surface is no longer accessible and must be recreated.
Fullscreen exclusivity is already acquired.
Fullscreen exclusivity is not current acquired.
Swapchain is not in fullscreen exclusive app controlled mode
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FullscreenExclusiveError
impl Send for FullscreenExclusiveError
impl Sync for FullscreenExclusiveError
impl Unpin for FullscreenExclusiveError
impl UnwindSafe for FullscreenExclusiveError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.