Struct wgpu::ShaderModule [−][src]
pub struct ShaderModule { /* fields omitted */ }
Handle to a compiled shader module.
A ShaderModule
represents a compiled shader module on the GPU. It can be created by passing
valid SPIR-V source code to Device::create_shader_module
. Shader modules are used to define
programmable stages of a pipeline.
Trait Implementations
impl Debug for ShaderModule
[src]
impl Debug for ShaderModule
[src]Auto Trait Implementations
impl !RefUnwindSafe for ShaderModule
impl Send for ShaderModule
impl Sync for ShaderModule
impl Unpin for ShaderModule
impl !UnwindSafe for ShaderModule
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