Struct sierra::ShaderModuleInfo
source · pub struct ShaderModuleInfo {
pub code: Box<[u8]>,
pub language: ShaderLanguage,
}
Expand description
Defines layout for descriptor sets.
Fields§
§code: Box<[u8]>
Source code of the shader.
language: ShaderLanguage
Source language.
Implementations§
Trait Implementations§
source§impl Clone for ShaderModuleInfo
impl Clone for ShaderModuleInfo
source§fn clone(&self) -> ShaderModuleInfo
fn clone(&self) -> ShaderModuleInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShaderModuleInfo
impl Debug for ShaderModuleInfo
source§impl From<Spirv> for ShaderModuleInfo
impl From<Spirv> for ShaderModuleInfo
source§impl Hash for ShaderModuleInfo
impl Hash for ShaderModuleInfo
source§impl PartialEq<ShaderModuleInfo> for ShaderModuleInfo
impl PartialEq<ShaderModuleInfo> for ShaderModuleInfo
source§fn eq(&self, other: &ShaderModuleInfo) -> bool
fn eq(&self, other: &ShaderModuleInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.