Enum rspirv::lift::ConversionError
source · pub enum ConversionError {
MissingHeader,
MissingFunction,
MissingFunctionType,
MissingLabel,
MissingTerminator,
Instruction(InstructionError),
}
Expand description
Error that may occur during the convesion from the data representation of a module into a structured representation.
Variants§
MissingHeader
MissingFunction
MissingFunctionType
MissingLabel
MissingTerminator
Instruction(InstructionError)
Trait Implementations§
source§impl Clone for ConversionError
impl Clone for ConversionError
source§fn clone(&self) -> ConversionError
fn clone(&self) -> ConversionError
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 ConversionError
impl Debug for ConversionError
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.
Auto Trait Implementations§
impl RefUnwindSafe for ConversionError
impl Send for ConversionError
impl Sync for ConversionError
impl Unpin for ConversionError
impl UnwindSafe for ConversionError
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