Enum gfx_core::factory::CombinedError
[−]
[src]
pub enum CombinedError { Texture(CreationError), Resource(ResourceViewError), Target(TargetViewError), }
An error from creating textures with views at the same time.
Variants
Texture(CreationError)
Failed to create the raw texture.
Resource(ResourceViewError)
Failed to create SRV or UAV.
Target(TargetViewError)
Failed to create RTV or DSV.
Trait Implementations
impl Clone for CombinedError
[src]
fn clone(&self) -> CombinedError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for CombinedError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CombinedError
[src]
fn eq(&self, __arg_0: &CombinedError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CombinedError) -> bool
[src]
This method tests for !=
.
impl Display for CombinedError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for CombinedError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<CreationError> for CombinedError
[src]
fn from(e: CreationError) -> CombinedError
[src]
Performs the conversion.
impl From<ResourceViewError> for CombinedError
[src]
fn from(e: ResourceViewError) -> CombinedError
[src]
Performs the conversion.
impl From<TargetViewError> for CombinedError
[src]
fn from(e: TargetViewError) -> CombinedError
[src]
Performs the conversion.