Struct sierra::PushConstant
source · pub struct PushConstant {
pub stages: ShaderStageFlags,
pub offset: u32,
pub size: u32,
}
Fields§
§stages: ShaderStageFlags
§offset: u32
§size: u32
Trait Implementations§
source§impl Clone for PushConstant
impl Clone for PushConstant
source§fn clone(&self) -> PushConstant
fn clone(&self) -> PushConstant
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 PushConstant
impl Debug for PushConstant
source§impl Hash for PushConstant
impl Hash for PushConstant
source§impl PartialEq<PushConstant> for PushConstant
impl PartialEq<PushConstant> for PushConstant
source§fn eq(&self, other: &PushConstant) -> bool
fn eq(&self, other: &PushConstant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.