Struct wgpu::ShaderModuleDescriptor [−][src]
pub struct ShaderModuleDescriptor<'a> { pub label: Label<'a>, pub source: ShaderSource<'a>, pub flags: ShaderFlags, }
Descriptor for a shader module.
Fields
label: Label<'a>
Debug label of the shader module. This will show up in graphics debuggers for easy identification.
source: ShaderSource<'a>
Source code for the shader.
flags: ShaderFlags
Shader handling flags.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ShaderModuleDescriptor<'a>
impl<'a> Send for ShaderModuleDescriptor<'a>
impl<'a> Sync for ShaderModuleDescriptor<'a>
impl<'a> Unpin for ShaderModuleDescriptor<'a>
impl<'a> UnwindSafe for ShaderModuleDescriptor<'a>
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