pub enum Decoration {
Show 43 variants
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(FuncParamAttr),
FPRoundingMode(FPRoundingMode),
FPFastMathMode(FPFastMathMode),
LinkageAttributes(String, LinkageType),
NoContraction,
InputAttachmentIndex(u32),
Alignment(u32),
}
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(FuncParamAttr)
FPRoundingMode(FPRoundingMode)
FPFastMathMode(FPFastMathMode)
LinkageAttributes(String, LinkageType)
NoContraction
InputAttachmentIndex(u32)
Alignment(u32)
Implementations§
Source§impl Decoration
impl Decoration
pub fn to_desc(&self) -> Decoration
Trait Implementations§
Source§impl Clone for Decoration
impl Clone for Decoration
Source§fn clone(&self) -> Decoration
fn clone(&self) -> Decoration
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 moreAuto Trait Implementations§
impl Freeze for Decoration
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)