#[non_exhaustive]pub enum TraceRayError {
MissingPipeline(MissingPipeline),
IncompatibleBindGroup(Box<BinderError>),
InvalidDimensionSize {
current: [u32; 3],
limit: [u32; 3],
},
TooManyTotal {
current: u32,
limit: u32,
},
BindingSizeTooSmall(LateMinBufferBindingSizeMismatch),
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
BindingSizeTooSmall(LateMinBufferBindingSizeMismatch)
MissingImmediateData
Fields
§
missing: ImmediateSlotsTrait Implementations§
Source§impl Clone for TraceRayError
impl Clone for TraceRayError
Source§fn clone(&self) -> TraceRayError
fn clone(&self) -> TraceRayError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 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§fn from(source: Box<BinderError>) -> Self
fn from(source: Box<BinderError>) -> Self
Converts to this type from the input type.
Source§impl From<LateMinBufferBindingSizeMismatch> for TraceRayError
impl From<LateMinBufferBindingSizeMismatch> for TraceRayError
Source§fn from(source: LateMinBufferBindingSizeMismatch) -> Self
fn from(source: LateMinBufferBindingSizeMismatch) -> Self
Converts to this type from the input type.
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 Freeze for TraceRayError
impl !RefUnwindSafe for TraceRayError
impl Send for TraceRayError
impl Sync for TraceRayError
impl Unpin for TraceRayError
impl UnsafeUnpin for TraceRayError
impl !UnwindSafe 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more