Enum wgpu_core::ray_tracing::CreateBlasError
source · pub enum CreateBlasError {
Device(DeviceError),
CreateBufferError(CreateBufferError),
MissingIndexData,
InvalidVertexFormat(VertexFormat, Vec<VertexFormat>),
MissingFeature,
}
Variants§
Device(DeviceError)
CreateBufferError(CreateBufferError)
MissingIndexData
InvalidVertexFormat(VertexFormat, Vec<VertexFormat>)
MissingFeature
Trait Implementations§
source§impl Clone for CreateBlasError
impl Clone for CreateBlasError
source§fn clone(&self) -> CreateBlasError
fn clone(&self) -> CreateBlasError
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 CreateBlasError
impl Debug for CreateBlasError
source§impl Display for CreateBlasError
impl Display for CreateBlasError
source§impl Error for CreateBlasError
impl Error for CreateBlasError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CreateBufferError> for CreateBlasError
impl From<CreateBufferError> for CreateBlasError
source§fn from(source: CreateBufferError) -> Self
fn from(source: CreateBufferError) -> Self
Converts to this type from the input type.
source§impl From<DeviceError> for CreateBlasError
impl From<DeviceError> for CreateBlasError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CreateBlasError
impl Send for CreateBlasError
impl Sync for CreateBlasError
impl Unpin for CreateBlasError
impl UnwindSafe for CreateBlasError
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