pub enum Decoration {
Show 131 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, WeightTextureQCOM, BlockMatchTextureQCOM, ExplicitInterpAMD, NodeSharesPayloadLimitsWithAMDX { payload_array: Id, }, NodeMaxPayloadsAMDX { max_number_of_payloads: Id, }, TrackFinishWritingAMDX, PayloadNodeNameAMDX { node_name: String, }, OverrideCoverageNV, PassthroughNV, ViewportRelativeNV, SecondaryViewportRelativeNV { offset: u32, }, PerPrimitiveEXT, PerViewNV, PerTaskNV, PerVertexKHR, NonUniform, RestrictPointer, AliasedPointer, HitObjectShaderRecordBufferNV, 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, MathOpDSPModeINTEL { mode: u32, propagate: u32, }, AliasScopeINTEL { aliasing_scopes_list: Id, }, NoAliasINTEL { aliasing_scopes_list: Id, }, InitiationIntervalINTEL { cycles: u32, }, MaxConcurrencyINTEL { invocations: u32, }, PipelineEnableINTEL { enable: u32, }, BufferLocationINTEL { buffer_location_id: u32, }, IOPipeStorageINTEL { io_pipe_id: u32, }, FunctionFloatingPointModeINTEL { target_width: u32, fp_operation_mode: FPOperationMode, }, SingleElementVectorINTEL, VectorComputeCallableFunctionINTEL, MediaBlockIOINTEL, InitModeINTEL { trigger: InitializationModeQualifier, }, ImplementInRegisterMapINTEL { value: u32, }, HostAccessINTEL { access: HostAccessQualifier, name: String, }, FPMaxErrorDecorationINTEL { max_error: f32, }, LatencyControlLabelINTEL { latency_label: u32, }, LatencyControlConstraintINTEL { relative_to: u32, control_type: u32, relative_cycle: u32, }, ConduitKernelArgumentINTEL, RegisterMapKernelArgumentINTEL, MMHostInterfaceAddressWidthINTEL { address_width: u32, }, MMHostInterfaceDataWidthINTEL { data_width: u32, }, MMHostInterfaceLatencyINTEL { latency: u32, }, MMHostInterfaceReadWriteModeINTEL { read_write_mode: AccessQualifier, }, MMHostInterfaceMaxBurstINTEL { max_burst_count: u32, }, MMHostInterfaceWaitRequestINTEL { waitrequest: u32, }, StableKernelArgumentINTEL,
}

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

§

WeightTextureQCOM

§

BlockMatchTextureQCOM

§

ExplicitInterpAMD

§

NodeSharesPayloadLimitsWithAMDX

Fields

§payload_array: Id
§

NodeMaxPayloadsAMDX

Fields

§max_number_of_payloads: Id
§

TrackFinishWritingAMDX

§

PayloadNodeNameAMDX

Fields

§node_name: String
§

OverrideCoverageNV

§

PassthroughNV

§

ViewportRelativeNV

§

SecondaryViewportRelativeNV

Fields

§offset: u32
§

PerPrimitiveEXT

§

PerViewNV

§

PerTaskNV

§

PerVertexKHR

§

NonUniform

§

RestrictPointer

§

AliasedPointer

§

HitObjectShaderRecordBufferNV

§

BindlessSamplerNV

§

BindlessImageNV

§

BoundSamplerNV

§

BoundImageNV

§

SIMTCallINTEL

Fields

§

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

§

MathOpDSPModeINTEL

Fields

§mode: u32
§propagate: u32
§

AliasScopeINTEL

Fields

§aliasing_scopes_list: Id
§

NoAliasINTEL

Fields

§aliasing_scopes_list: Id
§

InitiationIntervalINTEL

Fields

§cycles: u32
§

MaxConcurrencyINTEL

Fields

§invocations: u32
§

PipelineEnableINTEL

Fields

§enable: u32
§

BufferLocationINTEL

Fields

§buffer_location_id: u32
§

IOPipeStorageINTEL

Fields

§io_pipe_id: u32
§

FunctionFloatingPointModeINTEL

Fields

§target_width: u32
§fp_operation_mode: FPOperationMode
§

SingleElementVectorINTEL

§

VectorComputeCallableFunctionINTEL

§

MediaBlockIOINTEL

§

InitModeINTEL

§

ImplementInRegisterMapINTEL

Fields

§value: u32
§

HostAccessINTEL

Fields

§name: String
§

FPMaxErrorDecorationINTEL

Fields

§max_error: f32
§

LatencyControlLabelINTEL

Fields

§latency_label: u32
§

LatencyControlConstraintINTEL

Fields

§relative_to: u32
§control_type: u32
§relative_cycle: u32
§

ConduitKernelArgumentINTEL

§

RegisterMapKernelArgumentINTEL

§

MMHostInterfaceAddressWidthINTEL

Fields

§address_width: u32
§

MMHostInterfaceDataWidthINTEL

Fields

§data_width: u32
§

MMHostInterfaceLatencyINTEL

Fields

§latency: u32
§

MMHostInterfaceReadWriteModeINTEL

Fields

§read_write_mode: AccessQualifier
§

MMHostInterfaceMaxBurstINTEL

Fields

§max_burst_count: u32
§

MMHostInterfaceWaitRequestINTEL

Fields

§waitrequest: u32
§

StableKernelArgumentINTEL

Trait Implementations§

source§

impl Clone for Decoration

source§

fn clone(&self) -> Decoration

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for Decoration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Decoration

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Decoration

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.