Enum deno_webgpu::error::WebGpuError
source · [−]pub enum WebGpuError {
Lost,
OutOfMemory,
Validation(String),
}
Variants
Lost
OutOfMemory
Validation(String)
Trait Implementations
sourceimpl From<BufferAccessError> for WebGpuError
impl From<BufferAccessError> for WebGpuError
sourcefn from(err: BufferAccessError) -> Self
fn from(err: BufferAccessError) -> Self
Converts to this type from the input type.
sourceimpl From<ClearError> for WebGpuError
impl From<ClearError> for WebGpuError
sourcefn from(err: ClearError) -> Self
fn from(err: ClearError) -> Self
Converts to this type from the input type.
sourceimpl From<CommandEncoderError> for WebGpuError
impl From<CommandEncoderError> for WebGpuError
sourcefn from(err: CommandEncoderError) -> Self
fn from(err: CommandEncoderError) -> Self
Converts to this type from the input type.
sourceimpl From<ComputePassError> for WebGpuError
impl From<ComputePassError> for WebGpuError
sourcefn from(err: ComputePassError) -> Self
fn from(err: ComputePassError) -> Self
Converts to this type from the input type.
sourceimpl From<CopyError> for WebGpuError
impl From<CopyError> for WebGpuError
sourceimpl From<CreateBindGroupError> for WebGpuError
impl From<CreateBindGroupError> for WebGpuError
sourcefn from(err: CreateBindGroupError) -> Self
fn from(err: CreateBindGroupError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateBindGroupLayoutError> for WebGpuError
impl From<CreateBindGroupLayoutError> for WebGpuError
sourcefn from(err: CreateBindGroupLayoutError) -> Self
fn from(err: CreateBindGroupLayoutError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateBufferError> for WebGpuError
impl From<CreateBufferError> for WebGpuError
sourcefn from(err: CreateBufferError) -> Self
fn from(err: CreateBufferError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateComputePipelineError> for WebGpuError
impl From<CreateComputePipelineError> for WebGpuError
sourcefn from(err: CreateComputePipelineError) -> Self
fn from(err: CreateComputePipelineError) -> Self
Converts to this type from the input type.
sourceimpl From<CreatePipelineLayoutError> for WebGpuError
impl From<CreatePipelineLayoutError> for WebGpuError
sourcefn from(err: CreatePipelineLayoutError) -> Self
fn from(err: CreatePipelineLayoutError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateQuerySetError> for WebGpuError
impl From<CreateQuerySetError> for WebGpuError
sourcefn from(err: CreateQuerySetError) -> Self
fn from(err: CreateQuerySetError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateRenderBundleError> for WebGpuError
impl From<CreateRenderBundleError> for WebGpuError
sourcefn from(err: CreateRenderBundleError) -> Self
fn from(err: CreateRenderBundleError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateRenderPipelineError> for WebGpuError
impl From<CreateRenderPipelineError> for WebGpuError
sourcefn from(err: CreateRenderPipelineError) -> Self
fn from(err: CreateRenderPipelineError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateSamplerError> for WebGpuError
impl From<CreateSamplerError> for WebGpuError
sourcefn from(err: CreateSamplerError) -> Self
fn from(err: CreateSamplerError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateShaderModuleError> for WebGpuError
impl From<CreateShaderModuleError> for WebGpuError
sourcefn from(err: CreateShaderModuleError) -> Self
fn from(err: CreateShaderModuleError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateTextureError> for WebGpuError
impl From<CreateTextureError> for WebGpuError
sourcefn from(err: CreateTextureError) -> Self
fn from(err: CreateTextureError) -> Self
Converts to this type from the input type.
sourceimpl From<CreateTextureViewError> for WebGpuError
impl From<CreateTextureViewError> for WebGpuError
sourcefn from(err: CreateTextureViewError) -> Self
fn from(err: CreateTextureViewError) -> Self
Converts to this type from the input type.
sourceimpl From<DeviceError> for WebGpuError
impl From<DeviceError> for WebGpuError
sourcefn from(err: DeviceError) -> Self
fn from(err: DeviceError) -> Self
Converts to this type from the input type.
sourceimpl From<GetBindGroupLayoutError> for WebGpuError
impl From<GetBindGroupLayoutError> for WebGpuError
sourcefn from(err: GetBindGroupLayoutError) -> Self
fn from(err: GetBindGroupLayoutError) -> Self
Converts to this type from the input type.
sourceimpl From<QueryError> for WebGpuError
impl From<QueryError> for WebGpuError
sourcefn from(err: QueryError) -> Self
fn from(err: QueryError) -> Self
Converts to this type from the input type.
sourceimpl From<QueueSubmitError> for WebGpuError
impl From<QueueSubmitError> for WebGpuError
sourcefn from(err: QueueSubmitError) -> Self
fn from(err: QueueSubmitError) -> Self
Converts to this type from the input type.
sourceimpl From<QueueWriteError> for WebGpuError
impl From<QueueWriteError> for WebGpuError
sourcefn from(err: QueueWriteError) -> Self
fn from(err: QueueWriteError) -> Self
Converts to this type from the input type.
sourceimpl From<RenderBundleError> for WebGpuError
impl From<RenderBundleError> for WebGpuError
sourcefn from(err: RenderBundleError) -> Self
fn from(err: RenderBundleError) -> Self
Converts to this type from the input type.
sourceimpl From<RenderPassError> for WebGpuError
impl From<RenderPassError> for WebGpuError
sourcefn from(err: RenderPassError) -> Self
fn from(err: RenderPassError) -> Self
Converts to this type from the input type.
sourceimpl Serialize for WebGpuError
impl Serialize for WebGpuError
Auto Trait Implementations
impl RefUnwindSafe for WebGpuError
impl Send for WebGpuError
impl Sync for WebGpuError
impl Unpin for WebGpuError
impl UnwindSafe for WebGpuError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more