logo
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

Fields

name: String
linkage_type: LinkageType

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

Fields

target_width: u32
fp_rounding_mode: FPRoundingMode

FunctionDenormModeINTEL

Fields

target_width: u32
fp_denorm_mode: FPDenormMode

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

Fields

merge_key: String
merge_type: String

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

Fields

target_width: u32
fp_operation_mode: FPOperationMode

SingleElementVectorINTEL

VectorComputeCallableFunctionINTEL

MediaBlockIOINTEL

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.