#[repr(u32)]pub enum Decoration {
Show 43 variants
RelaxedPrecision = 0,
SpecId = 1,
Block = 2,
BufferBlock = 3,
RowMajor = 4,
ColMajor = 5,
ArrayStride = 6,
MatrixStride = 7,
GLSLShared = 8,
GLSLPacked = 9,
CPacked = 10,
BuiltIn = 11,
NoPerspective = 13,
Flat = 14,
Patch = 15,
Centroid = 16,
Sample = 17,
Invariant = 18,
Restrict = 19,
Aliased = 20,
Volatile = 21,
Constant = 22,
Coherent = 23,
NonWritable = 24,
NonReadable = 25,
Uniform = 26,
SaturatedConversion = 28,
Stream = 29,
Location = 30,
Component = 31,
Index = 32,
Binding = 33,
DescriptorSet = 34,
Offset = 35,
XfbBuffer = 36,
XfbStride = 37,
FuncParamAttr = 38,
FPRoundingMode = 39,
FPFastMathMode = 40,
LinkageAttributes = 41,
NoContraction = 42,
InputAttachmentIndex = 43,
Alignment = 44,
}
Variants§
RelaxedPrecision = 0
SpecId = 1
Block = 2
BufferBlock = 3
RowMajor = 4
ColMajor = 5
ArrayStride = 6
MatrixStride = 7
GLSLPacked = 9
CPacked = 10
BuiltIn = 11
NoPerspective = 13
Flat = 14
Patch = 15
Centroid = 16
Sample = 17
Invariant = 18
Restrict = 19
Aliased = 20
Volatile = 21
Constant = 22
Coherent = 23
NonWritable = 24
NonReadable = 25
Uniform = 26
SaturatedConversion = 28
Stream = 29
Location = 30
Component = 31
Index = 32
Binding = 33
DescriptorSet = 34
Offset = 35
XfbBuffer = 36
XfbStride = 37
FuncParamAttr = 38
FPRoundingMode = 39
FPFastMathMode = 40
LinkageAttributes = 41
NoContraction = 42
InputAttachmentIndex = 43
Alignment = 44
Implementations§
Source§impl Decoration
impl Decoration
pub fn from(val: u32) -> Option<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 moreSource§impl Debug for Decoration
impl Debug for Decoration
Source§impl Hash for Decoration
impl Hash for Decoration
Source§impl PartialEq for Decoration
impl PartialEq for Decoration
impl Copy for Decoration
impl StructuralPartialEq for Decoration
Auto 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
)