Enum gfx::CombinedError []

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

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

Formats the value using the given formatter.

impl PartialEq<CombinedError> for CombinedError

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

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

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

Formats the value using the given formatter.

impl Error for CombinedError

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

fn from(e: Error) -> CombinedError

Performs the conversion.

impl From<ResourceViewError> for CombinedError

fn from(e: ResourceViewError) -> CombinedError

Performs the conversion.

impl From<TargetViewError> for CombinedError

fn from(e: TargetViewError) -> CombinedError

Performs the conversion.