Enum vulkano::swapchain::CapabilitiesError [−][src]
#[repr(u32)]pub enum CapabilitiesError { OomError(OomError), SurfaceLost, }
Error that can happen when retreiving a surface's capabilities.
Variants
OomError(OomError)
Not enough memory.
SurfaceLost
The surface is no longer accessible and must be recreated.
Trait Implementations
impl Copy for CapabilitiesError
[src]
impl Copy for CapabilitiesError
impl Clone for CapabilitiesError
[src]
impl Clone for CapabilitiesError
fn clone(&self) -> CapabilitiesError
[src]
fn clone(&self) -> CapabilitiesError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CapabilitiesError
[src]
impl Debug for CapabilitiesError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CapabilitiesError
[src]
impl PartialEq for CapabilitiesError
fn eq(&self, other: &CapabilitiesError) -> bool
[src]
fn eq(&self, other: &CapabilitiesError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CapabilitiesError) -> bool
[src]
fn ne(&self, other: &CapabilitiesError) -> bool
This method tests for !=
.
impl Eq for CapabilitiesError
[src]
impl Eq for CapabilitiesError
impl Error for CapabilitiesError
[src]
impl Error for CapabilitiesError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for CapabilitiesError
[src]
impl Display for CapabilitiesError
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<OomError> for CapabilitiesError
[src]
impl From<OomError> for CapabilitiesError
fn from(err: OomError) -> CapabilitiesError
[src]
fn from(err: OomError) -> CapabilitiesError
Performs the conversion.
impl From<CapabilitiesError> for SwapchainCreationError
[src]
impl From<CapabilitiesError> for SwapchainCreationError
fn from(err: CapabilitiesError) -> SwapchainCreationError
[src]
fn from(err: CapabilitiesError) -> SwapchainCreationError
Performs the conversion.
Auto Trait Implementations
impl Send for CapabilitiesError
impl Send for CapabilitiesError
impl Sync for CapabilitiesError
impl Sync for CapabilitiesError