AsWgpu

Trait AsWgpu 

Source
pub trait AsWgpu {
    type WgpuType;

    // Required method
    fn as_wgpu(&self) -> &Self::WgpuType;
}
Expand description

Access the underlying wgpu type (immutable).

Implement this trait to expose the underlying wgpu type for advanced access.

Required Associated Types§

Source

type WgpuType

The underlying wgpu type.

Required Methods§

Source

fn as_wgpu(&self) -> &Self::WgpuType

Get a reference to the underlying wgpu type.

Implementations on Foreign Types§

Source§

impl AsWgpu for Arc<GraphicsContext>

Implementors§