Enum rspirv::lift::InstructionError
source · pub enum InstructionError {
WrongOpcode,
MissingResult,
Operand(OperandError),
}
Expand description
Error lifting a data representation of an instruction.
Variants§
WrongOpcode
Instruction has a wrong opcode.
MissingResult
Instruction is missing a result
Operand(OperandError)
One of the operands can not be lifted.
Trait Implementations§
source§impl Clone for InstructionError
impl Clone for InstructionError
source§fn clone(&self) -> InstructionError
fn clone(&self) -> InstructionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstructionError
impl Debug for InstructionError
source§impl From<InstructionError> for ConversionError
impl From<InstructionError> for ConversionError
source§fn from(error: InstructionError) -> Self
fn from(error: InstructionError) -> Self
Converts to this type from the input type.
source§impl From<OperandError> for InstructionError
impl From<OperandError> for InstructionError
source§fn from(error: OperandError) -> Self
fn from(error: OperandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InstructionError
impl Send for InstructionError
impl Sync for InstructionError
impl Unpin for InstructionError
impl UnwindSafe for InstructionError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more