Enum rspirv::dr::Operand[][src]

pub enum Operand {
Show 45 variants ImageOperands(ImageOperands), FPFastMathMode(FPFastMathMode), SelectionControl(SelectionControl), LoopControl(LoopControl), FunctionControl(FunctionControl), MemorySemantics(MemorySemantics), MemoryAccess(MemoryAccess), KernelProfilingInfo(KernelProfilingInfo), RayFlags(RayFlags), FragmentShadingRate(FragmentShadingRate), SourceLanguage(SourceLanguage), ExecutionModel(ExecutionModel), AddressingModel(AddressingModel), MemoryModel(MemoryModel), ExecutionMode(ExecutionMode), StorageClass(StorageClass), Dim(Dim), SamplerAddressingMode(SamplerAddressingMode), SamplerFilterMode(SamplerFilterMode), ImageFormat(ImageFormat), ImageChannelOrder(ImageChannelOrder), ImageChannelDataType(ImageChannelDataType), FPRoundingMode(FPRoundingMode), LinkageType(LinkageType), AccessQualifier(AccessQualifier), FunctionParameterAttribute(FunctionParameterAttribute), Decoration(Decoration), BuiltIn(BuiltIn), Scope(Scope), GroupOperation(GroupOperation), KernelEnqueueFlags(KernelEnqueueFlags), Capability(Capability), RayQueryIntersection(RayQueryIntersection), RayQueryCommittedIntersectionType(RayQueryCommittedIntersectionType), RayQueryCandidateIntersectionType(RayQueryCandidateIntersectionType), IdMemorySemantics(Word), IdScope(Word), IdRef(Word), LiteralInt32(u32), LiteralInt64(u64), LiteralFloat32(f32), LiteralFloat64(f64), LiteralExtInstInteger(u32), LiteralSpecConstantOpInteger(Op), LiteralString(String),
}
Expand description

Data representation of a SPIR-V operand.

Variants

ImageOperands(ImageOperands)

Tuple Fields of ImageOperands

0: ImageOperands
FPFastMathMode(FPFastMathMode)

Tuple Fields of FPFastMathMode

0: FPFastMathMode
SelectionControl(SelectionControl)

Tuple Fields of SelectionControl

0: SelectionControl
LoopControl(LoopControl)

Tuple Fields of LoopControl

0: LoopControl
FunctionControl(FunctionControl)

Tuple Fields of FunctionControl

0: FunctionControl
MemorySemantics(MemorySemantics)

Tuple Fields of MemorySemantics

0: MemorySemantics
MemoryAccess(MemoryAccess)

Tuple Fields of MemoryAccess

0: MemoryAccess
KernelProfilingInfo(KernelProfilingInfo)

Tuple Fields of KernelProfilingInfo

0: KernelProfilingInfo
RayFlags(RayFlags)

Tuple Fields of RayFlags

0: RayFlags
FragmentShadingRate(FragmentShadingRate)

Tuple Fields of FragmentShadingRate

0: FragmentShadingRate
SourceLanguage(SourceLanguage)

Tuple Fields of SourceLanguage

0: SourceLanguage
ExecutionModel(ExecutionModel)

Tuple Fields of ExecutionModel

0: ExecutionModel
AddressingModel(AddressingModel)

Tuple Fields of AddressingModel

0: AddressingModel
MemoryModel(MemoryModel)

Tuple Fields of MemoryModel

0: MemoryModel
ExecutionMode(ExecutionMode)

Tuple Fields of ExecutionMode

0: ExecutionMode
StorageClass(StorageClass)

Tuple Fields of StorageClass

0: StorageClass
Dim(Dim)

Tuple Fields of Dim

0: Dim
SamplerAddressingMode(SamplerAddressingMode)

Tuple Fields of SamplerAddressingMode

0: SamplerAddressingMode
SamplerFilterMode(SamplerFilterMode)

Tuple Fields of SamplerFilterMode

0: SamplerFilterMode
ImageFormat(ImageFormat)

Tuple Fields of ImageFormat

0: ImageFormat
ImageChannelOrder(ImageChannelOrder)

Tuple Fields of ImageChannelOrder

0: ImageChannelOrder
ImageChannelDataType(ImageChannelDataType)

Tuple Fields of ImageChannelDataType

0: ImageChannelDataType
FPRoundingMode(FPRoundingMode)

Tuple Fields of FPRoundingMode

0: FPRoundingMode
LinkageType(LinkageType)

Tuple Fields of LinkageType

0: LinkageType
AccessQualifier(AccessQualifier)

Tuple Fields of AccessQualifier

0: AccessQualifier
FunctionParameterAttribute(FunctionParameterAttribute)

Tuple Fields of FunctionParameterAttribute

0: FunctionParameterAttribute
Decoration(Decoration)

Tuple Fields of Decoration

0: Decoration
BuiltIn(BuiltIn)

Tuple Fields of BuiltIn

0: BuiltIn
Scope(Scope)

Tuple Fields of Scope

0: Scope
GroupOperation(GroupOperation)

Tuple Fields of GroupOperation

0: GroupOperation
KernelEnqueueFlags(KernelEnqueueFlags)

Tuple Fields of KernelEnqueueFlags

0: KernelEnqueueFlags
Capability(Capability)

Tuple Fields of Capability

0: Capability
RayQueryIntersection(RayQueryIntersection)

Tuple Fields of RayQueryIntersection

0: RayQueryIntersection
RayQueryCommittedIntersectionType(RayQueryCommittedIntersectionType)

Tuple Fields of RayQueryCommittedIntersectionType

0: RayQueryCommittedIntersectionType
RayQueryCandidateIntersectionType(RayQueryCandidateIntersectionType)

Tuple Fields of RayQueryCandidateIntersectionType

0: RayQueryCandidateIntersectionType
IdMemorySemantics(Word)

Tuple Fields of IdMemorySemantics

0: Word
IdScope(Word)

Tuple Fields of IdScope

0: Word
IdRef(Word)

Tuple Fields of IdRef

0: Word
LiteralInt32(u32)

Tuple Fields of LiteralInt32

0: u32
LiteralInt64(u64)

Tuple Fields of LiteralInt64

0: u64
LiteralFloat32(f32)

Tuple Fields of LiteralFloat32

0: f32
LiteralFloat64(f64)

Tuple Fields of LiteralFloat64

0: f64
LiteralExtInstInteger(u32)

Tuple Fields of LiteralExtInstInteger

0: u32
LiteralSpecConstantOpInteger(Op)

Tuple Fields of LiteralSpecConstantOpInteger

0: Op
LiteralString(String)

Tuple Fields of LiteralString

0: String

Implementations

Trait Implementations

Assembles the current object into the result vector, reducing the need for lots of allocations

Assembles the current object and returns the binary code. Helper method to remain backwards compatible, calls assemble_into Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Disassembles the current object and returns the assembly code.

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

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)

recently added

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

Converts the given value to a String. 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.