#[non_exhaustive]pub enum TraceRayError {
MissingPipeline(MissingPipeline),
IncompatibleBindGroup(Box<BinderError>),
InvalidDimensionSize {
current: [u32; 3],
limit: [u32; 3],
},
TooManyTotal {
current: u32,
limit: u32,
},
MissingImmediateData {
missing: ImmediateSlots,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MissingPipeline(MissingPipeline)
IncompatibleBindGroup(Box<BinderError>)
InvalidDimensionSize
TooManyTotal
MissingImmediateData
Fields
§
missing: ImmediateSlotsTrait Implementations§
Source§impl Clone for TraceRayError
impl Clone for TraceRayError
Source§impl Debug for TraceRayError
impl Debug for TraceRayError
Source§impl Display for TraceRayError
impl Display for TraceRayError
Source§impl Error for TraceRayError
impl Error for TraceRayError
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<Box<BinderError>> for TraceRayError
impl From<Box<BinderError>> for TraceRayError
Source§impl From<TraceRayError> for RayTracingPassErrorInner
impl From<TraceRayError> for RayTracingPassErrorInner
Source§fn from(source: TraceRayError) -> Self
fn from(source: TraceRayError) -> Self
Converts to this type from the input type.
Source§impl WebGpuError for TraceRayError
impl WebGpuError for TraceRayError
Source§fn webgpu_error_type(&self) -> ErrorType
fn webgpu_error_type(&self) -> ErrorType
Determine the classification of this error as a WebGPU
ErrorType.Auto Trait Implementations§
impl !RefUnwindSafe for TraceRayError
impl !UnwindSafe for TraceRayError
impl Forget for TraceRayError
impl Freeze for TraceRayError
impl Move for TraceRayError
impl Send for TraceRayErrorwhere
BoxRaw<BinderError>: Send,
impl Sync for TraceRayErrorwhere
BoxRaw<BinderError>: Sync,
impl Unpin for TraceRayError
impl UnsafeUnpin for TraceRayError
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