pub enum ReflectError {
Show 19 variants
MissingBindingDecoration(Instruction),
MissingSetDecoration(Instruction),
OperandError(Instruction, &'static str, usize),
OperandIndexError(Instruction, &'static str, usize, usize),
VariableWithoutReturnType(Instruction),
UnknownStorageClass(StorageClass),
UnknownStruct(Instruction),
ImageSampledFieldUnknown(Instruction, u32),
UnhandledTypeInstruction(Instruction),
MissingResultId(Instruction),
UnassignedResultId(u32),
MissingHeader,
MissingMemoryModel,
BindingGlobalParameterBuffer,
TooManyPushConstants,
ParseError(ParseState),
UnexpectedIntWidth(u32),
InvalidAddressingModelAndStorageClass(AddressingModel, StorageClass),
TryFromIntError(TryFromIntError),
}Variants§
MissingBindingDecoration(Instruction)
MissingSetDecoration(Instruction)
OperandError(Instruction, &'static str, usize)
OperandIndexError(Instruction, &'static str, usize, usize)
VariableWithoutReturnType(Instruction)
UnknownStorageClass(StorageClass)
UnknownStruct(Instruction)
ImageSampledFieldUnknown(Instruction, u32)
UnhandledTypeInstruction(Instruction)
MissingResultId(Instruction)
UnassignedResultId(u32)
MissingHeader
MissingMemoryModel
BindingGlobalParameterBuffer
TooManyPushConstants
ParseError(ParseState)
UnexpectedIntWidth(u32)
InvalidAddressingModelAndStorageClass(AddressingModel, StorageClass)
TryFromIntError(TryFromIntError)
Trait Implementations§
Source§impl Debug for ReflectError
impl Debug for ReflectError
Source§impl Display for ReflectError
impl Display for ReflectError
Source§impl Error for ReflectError
impl Error for ReflectError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<State> for ReflectError
impl From<State> for ReflectError
Source§fn from(source: ParseState) -> Self
fn from(source: ParseState) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for ReflectError
impl From<TryFromIntError> for ReflectError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReflectError
impl !RefUnwindSafe for ReflectError
impl Send for ReflectError
impl Sync for ReflectError
impl Unpin for ReflectError
impl !UnwindSafe for ReflectError
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