pub struct ShaderModuleDescriptorSpirV<'a> {
pub label: Label<'a>,
pub source: Cow<'a, [u32]>,
}
Expand description
Descriptor for a shader module given by SPIR-V binary.
Debug label of the shader module. This will show up in graphics debuggers for easy identification.
Binary SPIR-V data, in 4-byte words.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.