Struct sierra::MissShader
source · pub struct MissShader { /* private fields */ }
Implementations§
source§impl MissShader
impl MissShader
pub fn new(module: ShaderModule, entry: impl Into<Cow<'static, str>>) -> Self
pub fn with_main(module: ShaderModule) -> Self
pub fn module(&self) -> &ShaderModule
pub fn entry(&self) -> &str
Trait Implementations§
source§impl Clone for MissShader
impl Clone for MissShader
source§fn clone(&self) -> MissShader
fn clone(&self) -> MissShader
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 MissShader
impl Debug for MissShader
source§impl From<MissShader> for Shader
impl From<MissShader> for Shader
source§fn from(shader: MissShader) -> Shader
fn from(shader: MissShader) -> Shader
Converts to this type from the input type.
source§impl Hash for MissShader
impl Hash for MissShader
source§impl PartialEq<MissShader> for MissShader
impl PartialEq<MissShader> for MissShader
source§fn eq(&self, other: &MissShader) -> bool
fn eq(&self, other: &MissShader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Shader> for MissShader
impl TryFrom<Shader> for MissShader
§type Error = WrongShaderStage
type Error = WrongShaderStage
The type returned in the event of a conversion error.