Enum deno_webgpu::error::WebGpuError [−][src]
pub enum WebGpuError { Lost, OutOfMemory, Validation(String), }
Variants
Validation(String)
Trait Implementations
impl From<BufferAccessError> for WebGpuError
[src]
impl From<BufferAccessError> for WebGpuError
[src]fn from(err: BufferAccessError) -> Self
[src]
fn from(err: BufferAccessError) -> Self
[src]Performs the conversion.
impl From<CommandAllocatorError> for WebGpuError
[src]
impl From<CommandAllocatorError> for WebGpuError
[src]fn from(err: CommandAllocatorError) -> Self
[src]
fn from(err: CommandAllocatorError) -> Self
[src]Performs the conversion.
impl From<CommandEncoderError> for WebGpuError
[src]
impl From<CommandEncoderError> for WebGpuError
[src]fn from(err: CommandEncoderError) -> Self
[src]
fn from(err: CommandEncoderError) -> Self
[src]Performs the conversion.
impl From<ComputePassError> for WebGpuError
[src]
impl From<ComputePassError> for WebGpuError
[src]fn from(err: ComputePassError) -> Self
[src]
fn from(err: ComputePassError) -> Self
[src]Performs the conversion.
impl From<CopyError> for WebGpuError
[src]
impl From<CopyError> for WebGpuError
[src]impl From<CreateBindGroupError> for WebGpuError
[src]
impl From<CreateBindGroupError> for WebGpuError
[src]fn from(err: CreateBindGroupError) -> Self
[src]
fn from(err: CreateBindGroupError) -> Self
[src]Performs the conversion.
impl From<CreateBindGroupLayoutError> for WebGpuError
[src]
impl From<CreateBindGroupLayoutError> for WebGpuError
[src]fn from(err: CreateBindGroupLayoutError) -> Self
[src]
fn from(err: CreateBindGroupLayoutError) -> Self
[src]Performs the conversion.
impl From<CreateBufferError> for WebGpuError
[src]
impl From<CreateBufferError> for WebGpuError
[src]fn from(err: CreateBufferError) -> Self
[src]
fn from(err: CreateBufferError) -> Self
[src]Performs the conversion.
impl From<CreateComputePipelineError> for WebGpuError
[src]
impl From<CreateComputePipelineError> for WebGpuError
[src]fn from(err: CreateComputePipelineError) -> Self
[src]
fn from(err: CreateComputePipelineError) -> Self
[src]Performs the conversion.
impl From<CreatePipelineLayoutError> for WebGpuError
[src]
impl From<CreatePipelineLayoutError> for WebGpuError
[src]fn from(err: CreatePipelineLayoutError) -> Self
[src]
fn from(err: CreatePipelineLayoutError) -> Self
[src]Performs the conversion.
impl From<CreateQuerySetError> for WebGpuError
[src]
impl From<CreateQuerySetError> for WebGpuError
[src]fn from(err: CreateQuerySetError) -> Self
[src]
fn from(err: CreateQuerySetError) -> Self
[src]Performs the conversion.
impl From<CreateRenderBundleError> for WebGpuError
[src]
impl From<CreateRenderBundleError> for WebGpuError
[src]fn from(err: CreateRenderBundleError) -> Self
[src]
fn from(err: CreateRenderBundleError) -> Self
[src]Performs the conversion.
impl From<CreateRenderPipelineError> for WebGpuError
[src]
impl From<CreateRenderPipelineError> for WebGpuError
[src]fn from(err: CreateRenderPipelineError) -> Self
[src]
fn from(err: CreateRenderPipelineError) -> Self
[src]Performs the conversion.
impl From<CreateSamplerError> for WebGpuError
[src]
impl From<CreateSamplerError> for WebGpuError
[src]fn from(err: CreateSamplerError) -> Self
[src]
fn from(err: CreateSamplerError) -> Self
[src]Performs the conversion.
impl From<CreateShaderModuleError> for WebGpuError
[src]
impl From<CreateShaderModuleError> for WebGpuError
[src]fn from(err: CreateShaderModuleError) -> Self
[src]
fn from(err: CreateShaderModuleError) -> Self
[src]Performs the conversion.
impl From<CreateTextureError> for WebGpuError
[src]
impl From<CreateTextureError> for WebGpuError
[src]fn from(err: CreateTextureError) -> Self
[src]
fn from(err: CreateTextureError) -> Self
[src]Performs the conversion.
impl From<CreateTextureViewError> for WebGpuError
[src]
impl From<CreateTextureViewError> for WebGpuError
[src]fn from(err: CreateTextureViewError) -> Self
[src]
fn from(err: CreateTextureViewError) -> Self
[src]Performs the conversion.
impl From<DeviceError> for WebGpuError
[src]
impl From<DeviceError> for WebGpuError
[src]fn from(err: DeviceError) -> Self
[src]
fn from(err: DeviceError) -> Self
[src]Performs the conversion.
impl From<GetBindGroupLayoutError> for WebGpuError
[src]
impl From<GetBindGroupLayoutError> for WebGpuError
[src]fn from(err: GetBindGroupLayoutError) -> Self
[src]
fn from(err: GetBindGroupLayoutError) -> Self
[src]Performs the conversion.
impl From<QueryError> for WebGpuError
[src]
impl From<QueryError> for WebGpuError
[src]fn from(err: QueryError) -> Self
[src]
fn from(err: QueryError) -> Self
[src]Performs the conversion.
impl From<QueueSubmitError> for WebGpuError
[src]
impl From<QueueSubmitError> for WebGpuError
[src]fn from(err: QueueSubmitError) -> Self
[src]
fn from(err: QueueSubmitError) -> Self
[src]Performs the conversion.
impl From<QueueWriteError> for WebGpuError
[src]
impl From<QueueWriteError> for WebGpuError
[src]fn from(err: QueueWriteError) -> Self
[src]
fn from(err: QueueWriteError) -> Self
[src]Performs the conversion.
impl From<RenderBundleError> for WebGpuError
[src]
impl From<RenderBundleError> for WebGpuError
[src]fn from(err: RenderBundleError) -> Self
[src]
fn from(err: RenderBundleError) -> Self
[src]Performs the conversion.
impl From<RenderPassError> for WebGpuError
[src]
impl From<RenderPassError> for WebGpuError
[src]fn from(err: RenderPassError) -> Self
[src]
fn from(err: RenderPassError) -> Self
[src]Performs the conversion.
impl Serialize for WebGpuError
[src]
impl Serialize for WebGpuError
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Serializable for T where
T: Serialize,
impl<T> Serializable for T where
T: Serialize,