[−][src]Enum vulkano::swapchain::SwapchainCreationError
Error that can happen when creation a swapchain.
Variants
OomError(OomError)
Not enough memory.
The device was lost.
The surface was lost.
The surface is already used by another swapchain.
The window is already in use by another API.
The VK_KHR_swapchain
extension was not enabled.
The VK_EXT_full_screen_exclusive
extension was not enabled.
Surface mismatch between old and new swapchain.
The old swapchain has already been used to recreate another one.
The requested number of swapchain images is not supported by the surface.
The requested number of swapchain images is not supported by the surface.
The requested image format is not supported by the surface.
The requested dimensions are not supported by the surface.
The requested array layers count is not supported by the surface.
The requested image usage is not supported by the surface.
The requested surface transform is not supported by the surface.
The requested composite alpha is not supported by the surface.
The requested present mode is not supported by the surface.
The image configuration is not supported by the physical device.
Trait Implementations
impl Clone for SwapchainCreationError
[src]
pub fn clone(&self) -> SwapchainCreationError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SwapchainCreationError
[src]
impl Display for SwapchainCreationError
[src]
impl Eq for SwapchainCreationError
[src]
impl Error for SwapchainCreationError
[src]
pub fn cause(&self) -> Option<&dyn Error>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
impl From<CapabilitiesError> for SwapchainCreationError
[src]
pub fn from(err: CapabilitiesError) -> SwapchainCreationError
[src]
impl From<OomError> for SwapchainCreationError
[src]
pub fn from(err: OomError) -> SwapchainCreationError
[src]
impl PartialEq<SwapchainCreationError> for SwapchainCreationError
[src]
pub fn eq(&self, other: &SwapchainCreationError) -> bool
[src]
pub fn ne(&self, other: &SwapchainCreationError) -> bool
[src]
impl StructuralEq for SwapchainCreationError
[src]
impl StructuralPartialEq for SwapchainCreationError
[src]
Auto Trait Implementations
impl RefUnwindSafe for SwapchainCreationError
[src]
impl Send for SwapchainCreationError
[src]
impl Sync for SwapchainCreationError
[src]
impl Unpin for SwapchainCreationError
[src]
impl UnwindSafe for SwapchainCreationError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(usize) -> bool
[src]
pub fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,