Enum rspirv::lift::OperandError
source · pub enum OperandError {
WrongType,
WrongEnumValue,
Missing,
}
Expand description
Error lifting a data representation of an operand into the structured representation.
Variants§
WrongType
Operand has a wrong type.
WrongEnumValue
Operand is an integer value that corresponds to a specified enum, but the given integer is not known to have a mapping.
Missing
Operand is missing from the list.
Trait Implementations§
source§impl Clone for OperandError
impl Clone for OperandError
source§fn clone(&self) -> OperandError
fn clone(&self) -> OperandError
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 OperandError
impl Debug for OperandError
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 OperandError
impl Send for OperandError
impl Sync for OperandError
impl Unpin for OperandError
impl UnwindSafe for OperandError
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