Enum sierra::CreateRenderPassError
source · pub enum CreateRenderPassError {
OutOfMemory {
source: OutOfMemory,
},
ColorAttachmentReferenceOutOfBound {
subpass: usize,
index: usize,
attachment: u32,
},
DepthAttachmentReferenceOutOfBound {
subpass: usize,
attachment: u32,
},
}
Variants§
OutOfMemory
Fields
§
source: OutOfMemory
ColorAttachmentReferenceOutOfBound
DepthAttachmentReferenceOutOfBound
Trait Implementations§
source§impl Clone for CreateRenderPassError
impl Clone for CreateRenderPassError
source§fn clone(&self) -> CreateRenderPassError
fn clone(&self) -> CreateRenderPassError
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 CreateRenderPassError
impl Debug for CreateRenderPassError
source§impl Display for CreateRenderPassError
impl Display for CreateRenderPassError
source§impl Error for CreateRenderPassError
impl Error for CreateRenderPassError
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 CreateRenderPassError
impl From<OutOfMemory> for CreateRenderPassError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl PartialEq<CreateRenderPassError> for CreateRenderPassError
impl PartialEq<CreateRenderPassError> for CreateRenderPassError
source§fn eq(&self, other: &CreateRenderPassError) -> bool
fn eq(&self, other: &CreateRenderPassError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.