Enum rspirv::mr::Error [−][src]
pub enum Error { NestedFunction, UnclosedFunction, MismatchedFunctionEnd, DetachedFunctionParameter, DetachedBasicBlock, NestedBasicBlock, UnclosedBasicBlock, MismatchedTerminator, DetachedInstruction, WrongOpCapabilityOperand, WrongOpExtensionOperand, WrongOpExtInstImportOperand, WrongOpMemoryModelOperand, WrongOpNameOperand, }
Data representation loading errors.
Variants
NestedFunction
UnclosedFunction
MismatchedFunctionEnd
DetachedFunctionParameter
DetachedBasicBlock
NestedBasicBlock
UnclosedBasicBlock
MismatchedTerminator
DetachedInstruction
WrongOpCapabilityOperand
WrongOpExtensionOperand
WrongOpExtInstImportOperand
WrongOpMemoryModelOperand
WrongOpNameOperand
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error