Struct wgpu::ShaderModuleDescriptorSpirV
source · [−]Expand description
Descriptor for a shader module given by SPIR-V binary.
Fields
label: Label<'a>
Debug label of the shader module. This will show up in graphics debuggers for easy identification.
source: Cow<'a, [u32]>
Binary SPIR-V data, in 4-byte words.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ShaderModuleDescriptorSpirV<'a>
impl<'a> Send for ShaderModuleDescriptorSpirV<'a>
impl<'a> Sync for ShaderModuleDescriptorSpirV<'a>
impl<'a> Unpin for ShaderModuleDescriptorSpirV<'a>
impl<'a> UnwindSafe for ShaderModuleDescriptorSpirV<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more