Enum vulkano::framebuffer::FramebufferCreationError
[−]
[src]
pub enum FramebufferCreationError { OomError(OomError), DimensionsTooLarge, AttachmentNotIdentitySwizzled, AttachmentTooSmall, }
Error that can happen when creating a framebuffer object.
Variants
OomError(OomError)
Out of memory.
DimensionsTooLarge
The requested dimensions exceed the device's limits.
AttachmentNotIdentitySwizzled
One of the attachments has a component swizzle that is different from identity.
AttachmentTooSmall
One of the attachments is too small compared to the requested framebuffer dimensions.
Trait Implementations
impl Eq for FramebufferCreationError
[src]
impl PartialEq for FramebufferCreationError
[src]
fn eq(&self, __arg_0: &FramebufferCreationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FramebufferCreationError) -> bool
This method tests for !=
.
impl Debug for FramebufferCreationError
[src]
impl Clone for FramebufferCreationError
[src]
fn clone(&self) -> FramebufferCreationError
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 Copy for FramebufferCreationError
[src]
impl From<OomError> for FramebufferCreationError
[src]
fn from(err: OomError) -> FramebufferCreationError
Performs the conversion.
impl Error for FramebufferCreationError
[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 FramebufferCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<Error> for FramebufferCreationError
[src]
fn from(err: Error) -> FramebufferCreationError
Performs the conversion.