Enum rspirv::sr::Decoration [−][src]
pub enum Decoration { RelaxedPrecision, SpecId(u32), Block, BufferBlock, RowMajor, ColMajor, ArrayStride(u32), MatrixStride(u32), GLSLShared, GLSLPacked, CPacked, BuiltIn(BuiltIn), NoPerspective, Flat, Patch, Centroid, Sample, Invariant, Restrict, Aliased, Volatile, Constant, Coherent, NonWritable, NonReadable, Uniform, SaturatedConversion, Stream(u32), Location(u32), Component(u32), Index(u32), Binding(u32), DescriptorSet(u32), Offset(u32), XfbBuffer(u32), XfbStride(u32), FuncParamAttr(FunctionParameterAttribute), FPRoundingMode(FPRoundingMode), FPFastMathMode(FPFastMathMode), LinkageAttributes(String, LinkageType), NoContraction, InputAttachmentIndex(u32), Alignment(u32), MaxByteOffset(u32), AlignmentId(Word), MaxByteOffsetId(Word), ExplicitInterpAMD, OverrideCoverageNV, PassthroughNV, ViewportRelativeNV, SecondaryViewportRelativeNV(u32), NonUniformEXT, HlslCounterBufferGOOGLE(Word), HlslSemanticGOOGLE(String), }
SPIR-V decorations.
Variants
RelaxedPrecision
SpecId(u32)
Block
BufferBlock
RowMajor
ColMajor
ArrayStride(u32)
MatrixStride(u32)
GLSLPacked
CPacked
BuiltIn(BuiltIn)
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
SaturatedConversion
Stream(u32)
Location(u32)
Component(u32)
Index(u32)
Binding(u32)
DescriptorSet(u32)
Offset(u32)
XfbBuffer(u32)
XfbStride(u32)
FuncParamAttr(FunctionParameterAttribute)
FPRoundingMode(FPRoundingMode)
FPFastMathMode(FPFastMathMode)
LinkageAttributes(String, LinkageType)
NoContraction
InputAttachmentIndex(u32)
Alignment(u32)
MaxByteOffset(u32)
AlignmentId(Word)
MaxByteOffsetId(Word)
ExplicitInterpAMD
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV(u32)
NonUniformEXT
HlslCounterBufferGOOGLE(Word)
HlslSemanticGOOGLE(String)
Trait Implementations
impl Clone for Decoration
[src]
impl Clone for Decoration
fn clone(&self) -> Decoration
[src]
fn clone(&self) -> Decoration
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)
Performs copy-assignment from source
. Read more
impl Debug for Decoration
[src]
impl Debug for Decoration
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 Eq for Decoration
[src]
impl Eq for Decoration
impl PartialEq for Decoration
[src]
impl PartialEq for Decoration
fn eq(&self, other: &Decoration) -> bool
[src]
fn eq(&self, other: &Decoration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Decoration) -> bool
[src]
fn ne(&self, other: &Decoration) -> bool
This method tests for !=
.
impl PartialOrd for Decoration
[src]
impl PartialOrd for Decoration
fn partial_cmp(&self, other: &Decoration) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Decoration) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Decoration) -> bool
[src]
fn lt(&self, other: &Decoration) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Decoration) -> bool
[src]
fn le(&self, other: &Decoration) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Decoration) -> bool
[src]
fn gt(&self, other: &Decoration) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Decoration) -> bool
[src]
fn ge(&self, other: &Decoration) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Decoration
[src]
impl Ord for Decoration
fn cmp(&self, other: &Decoration) -> Ordering
[src]
fn cmp(&self, other: &Decoration) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl From<BuiltIn> for Decoration
[src]
impl From<BuiltIn> for Decoration
fn from(original: BuiltIn) -> Decoration
[src]
fn from(original: BuiltIn) -> Decoration
Performs the conversion.
impl From<FunctionParameterAttribute> for Decoration
[src]
impl From<FunctionParameterAttribute> for Decoration
fn from(original: FunctionParameterAttribute) -> Decoration
[src]
fn from(original: FunctionParameterAttribute) -> Decoration
Performs the conversion.
impl From<FPRoundingMode> for Decoration
[src]
impl From<FPRoundingMode> for Decoration
fn from(original: FPRoundingMode) -> Decoration
[src]
fn from(original: FPRoundingMode) -> Decoration
Performs the conversion.
impl From<FPFastMathMode> for Decoration
[src]
impl From<FPFastMathMode> for Decoration
fn from(original: FPFastMathMode) -> Decoration
[src]
fn from(original: FPFastMathMode) -> Decoration
Performs the conversion.
impl From<(String, LinkageType)> for Decoration
[src]
impl From<(String, LinkageType)> for Decoration
fn from(original: (String, LinkageType)) -> Decoration
[src]
fn from(original: (String, LinkageType)) -> Decoration
Performs the conversion.
impl From<String> for Decoration
[src]
impl From<String> for Decoration
fn from(original: String) -> Decoration
[src]
fn from(original: String) -> Decoration
Performs the conversion.
Auto Trait Implementations
impl Send for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Sync for Decoration