Enum vulkano::swapchain::SurfaceCreationError
source · pub enum SurfaceCreationError {
OomError(OomError),
RequirementNotMet {
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
}
Expand description
Error that can happen when creating a debug callback.
Variants§
Trait Implementations§
source§impl Clone for SurfaceCreationError
impl Clone for SurfaceCreationError
source§fn clone(&self) -> SurfaceCreationError
fn clone(&self) -> SurfaceCreationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SurfaceCreationError
impl Debug for SurfaceCreationError
source§impl Display for SurfaceCreationError
impl Display for SurfaceCreationError
source§impl Error for SurfaceCreationError
impl Error for SurfaceCreationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<OomError> for SurfaceCreationError
impl From<OomError> for SurfaceCreationError
source§fn from(err: OomError) -> SurfaceCreationError
fn from(err: OomError) -> SurfaceCreationError
Converts to this type from the input type.
source§impl From<VulkanError> for SurfaceCreationError
impl From<VulkanError> for SurfaceCreationError
source§fn from(err: VulkanError) -> SurfaceCreationError
fn from(err: VulkanError) -> SurfaceCreationError
Converts to this type from the input type.
source§impl PartialEq<SurfaceCreationError> for SurfaceCreationError
impl PartialEq<SurfaceCreationError> for SurfaceCreationError
source§fn eq(&self, other: &SurfaceCreationError) -> bool
fn eq(&self, other: &SurfaceCreationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.