Skip to main content

AsWgpuMut

Trait AsWgpuMut 

Source
pub trait AsWgpuMut: AsWgpu {
    // Required method
    fn as_wgpu_mut(&mut self) -> &mut Self::WgpuType;
}
Expand description

Access the underlying wgpu type (mutable).

Implement this trait to expose mutable access to the underlying wgpu type.

Required Methods§

Source

fn as_wgpu_mut(&mut self) -> &mut Self::WgpuType

Get a mutable reference to the underlying wgpu type.

Implementors§