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]
impl Clone for CombinedErrorfn clone(&self) -> CombinedError[src]
fn clone(&self) -> CombinedErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for CombinedError[src]
impl Debug for CombinedErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for CombinedError[src]
impl PartialEq for CombinedErrorfn eq(&self, other: &CombinedError) -> bool[src]
fn eq(&self, other: &CombinedError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CombinedError) -> bool[src]
fn ne(&self, other: &CombinedError) -> boolThis method tests for !=.
impl Display for CombinedError[src]
impl Display for CombinedErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for CombinedError[src]
impl Error for CombinedErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<CreationError> for CombinedError[src]
impl From<CreationError> for CombinedErrorfn from(e: CreationError) -> CombinedError[src]
fn from(e: CreationError) -> CombinedErrorPerforms the conversion.
impl From<ResourceViewError> for CombinedError[src]
impl From<ResourceViewError> for CombinedErrorfn from(e: ResourceViewError) -> CombinedError[src]
fn from(e: ResourceViewError) -> CombinedErrorPerforms the conversion.
impl From<TargetViewError> for CombinedError[src]
impl From<TargetViewError> for CombinedErrorfn from(e: TargetViewError) -> CombinedError[src]
fn from(e: TargetViewError) -> CombinedErrorPerforms the conversion.
Auto Trait Implementations
impl Send for CombinedError
impl Send for CombinedErrorimpl Sync for CombinedError
impl Sync for CombinedError