IntoWgpu

Trait IntoWgpu 

Source
pub trait IntoWgpu {
    type WgpuType;

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

Consume and return the underlying wgpu type.

Implement this trait when ownership of the wgpu type can be transferred.

Required Associated Types§

Source

type WgpuType

The underlying wgpu type.

Required Methods§

Source

fn into_wgpu(self) -> Self::WgpuType

Consume self and return the underlying wgpu type.

Implementors§