Enum sierra::FramebufferError
source · pub enum FramebufferError {
OutOfMemory {
source: OutOfMemory,
},
ColorAttachmentReferenceOutOfBound {
subpass: usize,
index: usize,
attachment: u32,
},
DepthAttachmentReferenceOutOfBound {
subpass: usize,
attachment: u32,
},
Unsupported {
info: ImageInfo,
},
}
Variants§
OutOfMemory
Fields
§
source: OutOfMemory
ColorAttachmentReferenceOutOfBound
DepthAttachmentReferenceOutOfBound
Unsupported
Trait Implementations§
source§impl Clone for FramebufferError
impl Clone for FramebufferError
source§fn clone(&self) -> FramebufferError
fn clone(&self) -> FramebufferError
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 FramebufferError
impl Debug for FramebufferError
source§impl Display for FramebufferError
impl Display for FramebufferError
source§impl Error for FramebufferError
impl Error for FramebufferError
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<CreateRenderPassError> for FramebufferError
impl From<CreateRenderPassError> for FramebufferError
source§fn from(err: CreateRenderPassError) -> Self
fn from(err: CreateRenderPassError) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for FramebufferError
impl From<OutOfMemory> for FramebufferError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.