Enum gfx_core::factory::CombinedError [] [src]

pub enum CombinedError {
    Texture(Error),
    Resource(ResourceViewError),
    Target(TargetViewError),
}

An error from creating textures with views at the same time.

Variants

Texture(Error)

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 Debug for CombinedError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for CombinedError
[src]

fn eq(&self, __arg_0: &CombinedError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &CombinedError) -> bool

This method tests for !=.

impl Clone for CombinedError
[src]

fn clone(&self) -> CombinedError

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 Display for CombinedError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for CombinedError
[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 From<Error> for CombinedError
[src]

fn from(e: Error) -> CombinedError

Performs the conversion.

impl From<ResourceViewError> for CombinedError
[src]

fn from(e: ResourceViewError) -> CombinedError

Performs the conversion.

impl From<TargetViewError> for CombinedError
[src]

fn from(e: TargetViewError) -> CombinedError

Performs the conversion.