pub enum CreateTlasError {
Device(DeviceError),
MissingFeatures(MissingFeatures),
DisallowedFlag(AccelerationStructureFlags),
TooManyInstances(u32, u32),
}Variants§
Device(DeviceError)
MissingFeatures(MissingFeatures)
DisallowedFlag(AccelerationStructureFlags)
TooManyInstances(u32, u32)
Trait Implementations§
Source§impl Clone for CreateTlasError
impl Clone for CreateTlasError
Source§impl Debug for CreateTlasError
impl Debug for CreateTlasError
Source§impl Display for CreateTlasError
impl Display for CreateTlasError
Source§impl Error for CreateTlasError
impl Error for CreateTlasError
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<DeviceError> for CreateTlasError
impl From<DeviceError> for CreateTlasError
Source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Source§impl From<MissingFeatures> for CreateTlasError
impl From<MissingFeatures> for CreateTlasError
Source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
Source§impl WebGpuError for CreateTlasError
impl WebGpuError for CreateTlasError
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 Forget for CreateTlasError
impl Freeze for CreateTlasErrorwhere
*const DeviceMismatch is !null: Freeze,
PhantomData<DeviceMismatch>: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
impl Move for CreateTlasError
impl RefUnwindSafe for CreateTlasErrorwhere
String: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
impl Send for CreateTlasErrorwhere
BoxRaw<DeviceMismatch>: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
impl Sync for CreateTlasErrorwhere
BoxRaw<DeviceMismatch>: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
impl Unpin for CreateTlasError
impl UnsafeUnpin for CreateTlasErrorwhere
*const DeviceMismatch is !null: UnsafeUnpin,
PhantomData<DeviceMismatch>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
impl UnwindSafe for CreateTlasErrorwhere
BoxRaw<DeviceMismatch>: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
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