pub enum Decoration {
Show 103 variants
RelaxedPrecision,
SpecId {
specialization_constant_id: u32,
},
Block,
BufferBlock,
RowMajor,
ColMajor,
ArrayStride {
array_stride: u32,
},
MatrixStride {
matrix_stride: u32,
},
GLSLShared,
GLSLPacked,
CPacked,
BuiltIn {
built_in: BuiltIn,
},
NoPerspective,
Flat,
Patch,
Centroid,
Sample,
Invariant,
Restrict,
Aliased,
Volatile,
Constant,
Coherent,
NonWritable,
NonReadable,
Uniform,
UniformId {
execution: Id,
},
SaturatedConversion,
Stream {
stream_number: u32,
},
Location {
location: u32,
},
Component {
component: u32,
},
Index {
index: u32,
},
Binding {
binding_point: u32,
},
DescriptorSet {
descriptor_set: u32,
},
Offset {
byte_offset: u32,
},
XfbBuffer {
xfb_buffer_number: u32,
},
XfbStride {
xfb_stride: u32,
},
FuncParamAttr {
function_parameter_attribute: FunctionParameterAttribute,
},
FPRoundingMode {
floating_point_rounding_mode: FPRoundingMode,
},
FPFastMathMode {
fast_math_mode: FPFastMathMode,
},
LinkageAttributes {
name: String,
linkage_type: LinkageType,
},
NoContraction,
InputAttachmentIndex {
attachment_index: u32,
},
Alignment {
alignment: u32,
},
MaxByteOffset {
max_byte_offset: u32,
},
AlignmentId {
alignment: Id,
},
MaxByteOffsetId {
max_byte_offset: Id,
},
NoSignedWrap,
NoUnsignedWrap,
ExplicitInterpAMD,
OverrideCoverageNV,
PassthroughNV,
ViewportRelativeNV,
SecondaryViewportRelativeNV {
offset: u32,
},
PerPrimitiveNV,
PerViewNV,
PerTaskNV,
PerVertexKHR,
NonUniform,
RestrictPointer,
AliasedPointer,
BindlessSamplerNV,
BindlessImageNV,
BoundSamplerNV,
BoundImageNV,
SIMTCallINTEL {
n: u32,
},
ReferencedIndirectlyINTEL,
ClobberINTEL {
register: String,
},
SideEffectsINTEL,
VectorComputeVariableINTEL,
FuncParamIOKindINTEL {
kind: u32,
},
VectorComputeFunctionINTEL,
StackCallINTEL,
GlobalVariableOffsetINTEL {
offset: u32,
},
CounterBuffer {
counter_buffer: Id,
},
UserSemantic {
semantic: String,
},
UserTypeGOOGLE {
user_type: String,
},
FunctionRoundingModeINTEL {
target_width: u32,
fp_rounding_mode: FPRoundingMode,
},
FunctionDenormModeINTEL {
target_width: u32,
fp_denorm_mode: FPDenormMode,
},
RegisterINTEL,
MemoryINTEL {
memory_type: String,
},
NumbanksINTEL {
banks: u32,
},
BankwidthINTEL {
bank_width: u32,
},
MaxPrivateCopiesINTEL {
maximum_copies: u32,
},
SinglepumpINTEL,
DoublepumpINTEL,
MaxReplicatesINTEL {
maximum_replicates: u32,
},
SimpleDualPortINTEL,
MergeINTEL {
merge_key: String,
merge_type: String,
},
BankBitsINTEL {
bank_bits: u32,
},
ForcePow2DepthINTEL {
force_key: u32,
},
BurstCoalesceINTEL,
CacheSizeINTEL {
cache_size_in_bytes: u32,
},
DontStaticallyCoalesceINTEL,
PrefetchINTEL {
prefetcher_size_in_bytes: u32,
},
StallEnableINTEL,
FuseLoopsInFunctionINTEL,
BufferLocationINTEL {
buffer_location_id: u32,
},
IOPipeStorageINTEL {
io_pipe_id: u32,
},
FunctionFloatingPointModeINTEL {
target_width: u32,
fp_operation_mode: FPOperationMode,
},
SingleElementVectorINTEL,
VectorComputeCallableFunctionINTEL,
MediaBlockIOINTEL,
}
Variants
RelaxedPrecision
SpecId
Fields
specialization_constant_id: u32
Block
BufferBlock
RowMajor
ColMajor
ArrayStride
Fields
array_stride: u32
MatrixStride
Fields
matrix_stride: u32
GLSLShared
GLSLPacked
CPacked
BuiltIn
Fields
built_in: BuiltIn
NoPerspective
Flat
Patch
Centroid
Sample
Invariant
Restrict
Aliased
Volatile
Constant
Coherent
NonWritable
NonReadable
Uniform
UniformId
Fields
execution: Id
SaturatedConversion
Stream
Fields
stream_number: u32
Location
Fields
location: u32
Component
Fields
component: u32
Index
Fields
index: u32
Binding
Fields
binding_point: u32
DescriptorSet
Fields
descriptor_set: u32
Offset
Fields
byte_offset: u32
XfbBuffer
Fields
xfb_buffer_number: u32
XfbStride
Fields
xfb_stride: u32
FuncParamAttr
Fields
function_parameter_attribute: FunctionParameterAttribute
FPRoundingMode
Fields
floating_point_rounding_mode: FPRoundingMode
FPFastMathMode
Fields
fast_math_mode: FPFastMathMode
LinkageAttributes
NoContraction
InputAttachmentIndex
Fields
attachment_index: u32
Alignment
Fields
alignment: u32
MaxByteOffset
Fields
max_byte_offset: u32
AlignmentId
Fields
alignment: Id
MaxByteOffsetId
Fields
max_byte_offset: Id
NoSignedWrap
NoUnsignedWrap
ExplicitInterpAMD
OverrideCoverageNV
PassthroughNV
ViewportRelativeNV
SecondaryViewportRelativeNV
Fields
offset: u32
PerPrimitiveNV
PerViewNV
PerTaskNV
PerVertexKHR
NonUniform
RestrictPointer
AliasedPointer
BindlessSamplerNV
BindlessImageNV
BoundSamplerNV
BoundImageNV
SIMTCallINTEL
Fields
n: u32
ReferencedIndirectlyINTEL
ClobberINTEL
Fields
register: String
SideEffectsINTEL
VectorComputeVariableINTEL
FuncParamIOKindINTEL
Fields
kind: u32
VectorComputeFunctionINTEL
StackCallINTEL
GlobalVariableOffsetINTEL
Fields
offset: u32
CounterBuffer
Fields
counter_buffer: Id
UserSemantic
Fields
semantic: String
UserTypeGOOGLE
Fields
user_type: String
FunctionRoundingModeINTEL
FunctionDenormModeINTEL
RegisterINTEL
MemoryINTEL
Fields
memory_type: String
NumbanksINTEL
Fields
banks: u32
BankwidthINTEL
Fields
bank_width: u32
MaxPrivateCopiesINTEL
Fields
maximum_copies: u32
SinglepumpINTEL
DoublepumpINTEL
MaxReplicatesINTEL
Fields
maximum_replicates: u32
SimpleDualPortINTEL
MergeINTEL
BankBitsINTEL
Fields
bank_bits: u32
ForcePow2DepthINTEL
Fields
force_key: u32
BurstCoalesceINTEL
CacheSizeINTEL
Fields
cache_size_in_bytes: u32
DontStaticallyCoalesceINTEL
PrefetchINTEL
Fields
prefetcher_size_in_bytes: u32
StallEnableINTEL
FuseLoopsInFunctionINTEL
BufferLocationINTEL
Fields
buffer_location_id: u32
IOPipeStorageINTEL
Fields
io_pipe_id: u32
FunctionFloatingPointModeINTEL
SingleElementVectorINTEL
VectorComputeCallableFunctionINTEL
MediaBlockIOINTEL
Trait Implementations
sourceimpl Clone for Decoration
impl Clone for Decoration
sourcefn clone(&self) -> Decoration
fn clone(&self) -> Decoration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Decoration
impl Debug for Decoration
sourceimpl PartialEq<Decoration> for Decoration
impl PartialEq<Decoration> for Decoration
sourcefn eq(&self, other: &Decoration) -> bool
fn eq(&self, other: &Decoration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Decoration) -> bool
fn ne(&self, other: &Decoration) -> bool
This method tests for !=
.
impl StructuralPartialEq for Decoration
Auto Trait Implementations
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more