Enum spirv_utils::desc::Decoration [] [src]

pub enum Decoration {
    RelaxedPrecision,
    SpecId,
    Block,
    BufferBlock,
    RowMajor,
    ColMajor,
    ArrayStride,
    MatrixStride,
    GLSLShared,
    GLSLPacked,
    CPacked,
    BuiltIn,
    NoPerspective,
    Flat,
    Patch,
    Centroid,
    Sample,
    Invariant,
    Restrict,
    Aliased,
    Volatile,
    Constant,
    Coherent,
    NonWritable,
    NonReadable,
    Uniform,
    SaturatedConversion,
    Stream,
    Location,
    Component,
    Index,
    Binding,
    DescriptorSet,
    Offset,
    XfbBuffer,
    XfbStride,
    FuncParamAttr,
    FPRoundingMode,
    FPFastMathMode,
    LinkageAttributes,
    NoContraction,
    InputAttachmentIndex,
    Alignment,
}

Variants

RelaxedPrecision
SpecId
Block
BufferBlock
RowMajor
ColMajor
ArrayStride
MatrixStride
GLSLShared
GLSLPacked
CPacked
BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
SaturatedConversion
Stream
Location
Component
Index
Binding
DescriptorSet
Offset
XfbBuffer
XfbStride
FuncParamAttr
FPRoundingMode
FPFastMathMode
LinkageAttributes
NoContraction
InputAttachmentIndex
Alignment

Methods

impl Decoration

fn from(val: u32) -> Option<Decoration>

Trait Implementations

Derived Implementations

impl Hash for Decoration

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for Decoration

fn eq(&self, __arg_0: &Decoration) -> bool

fn ne(&self, __arg_0: &Decoration) -> bool

impl Debug for Decoration

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Decoration

fn clone(&self) -> Decoration

fn clone_from(&mut self, source: &Self)

impl Copy for Decoration