Struct spirv_cross::spirv::SpecializationConstant [−][src]
Specialization constant reference.
Fields
id: u32
constant_id: u32
Trait Implementations
impl Copy for SpecializationConstant
[src]
impl Copy for SpecializationConstant
impl Clone for SpecializationConstant
[src]
impl Clone for SpecializationConstant
fn clone(&self) -> SpecializationConstant
[src]
fn clone(&self) -> SpecializationConstant
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SpecializationConstant
[src]
impl Debug for SpecializationConstant
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for SpecializationConstant
[src]
impl Hash for SpecializationConstant
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for SpecializationConstant
[src]
impl Eq for SpecializationConstant
impl PartialEq for SpecializationConstant
[src]
impl PartialEq for SpecializationConstant
fn eq(&self, other: &SpecializationConstant) -> bool
[src]
fn eq(&self, other: &SpecializationConstant) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SpecializationConstant) -> bool
[src]
fn ne(&self, other: &SpecializationConstant) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SpecializationConstant
impl Send for SpecializationConstant
impl Sync for SpecializationConstant
impl Sync for SpecializationConstant