Enum rspirv::mr::Operand
[−]
[src]
pub enum Operand { ImageOperands(ImageOperands), FPFastMathMode(FPFastMathMode), SelectionControl(SelectionControl), LoopControl(LoopControl), FunctionControl(FunctionControl), MemorySemantics(MemorySemantics), MemoryAccess(MemoryAccess), KernelProfilingInfo(KernelProfilingInfo), 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), IdMemorySemantics(Word), IdScope(Word), IdRef(Word), LiteralInt32(u32), LiteralInt64(u64), LiteralFloat32(f32), LiteralFloat64(f64), LiteralExtInstInteger(u32), LiteralSpecConstantOpInteger(Op), LiteralString(String), }
Data representation of a SPIR-V operand.
Variants
ImageOperands(ImageOperands)
FPFastMathMode(FPFastMathMode)
SelectionControl(SelectionControl)
LoopControl(LoopControl)
FunctionControl(FunctionControl)
MemorySemantics(MemorySemantics)
MemoryAccess(MemoryAccess)
KernelProfilingInfo(KernelProfilingInfo)
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)
IdMemorySemantics(Word)
IdScope(Word)
IdRef(Word)
LiteralInt32(u32)
LiteralInt64(u64)
LiteralFloat32(f32)
LiteralFloat64(f64)
LiteralExtInstInteger(u32)
LiteralSpecConstantOpInteger(Op)
LiteralString(String)
Trait Implementations
impl Assemble for Operand
[src]
impl Disassemble for Operand
[src]
fn disassemble(&self) -> String
[src]
Disassembles the current object and returns the assembly code.
impl Clone for Operand
[src]
fn clone(&self) -> Operand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Operand
[src]
impl PartialEq for Operand
[src]
fn eq(&self, __arg_0: &Operand) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Operand) -> bool
[src]
This method tests for !=
.
impl From<ImageOperands> for Operand
[src]
fn from(original: ImageOperands) -> Operand
[src]
Performs the conversion.
impl From<FPFastMathMode> for Operand
[src]
fn from(original: FPFastMathMode) -> Operand
[src]
Performs the conversion.
impl From<SelectionControl> for Operand
[src]
fn from(original: SelectionControl) -> Operand
[src]
Performs the conversion.
impl From<LoopControl> for Operand
[src]
fn from(original: LoopControl) -> Operand
[src]
Performs the conversion.
impl From<FunctionControl> for Operand
[src]
fn from(original: FunctionControl) -> Operand
[src]
Performs the conversion.
impl From<MemorySemantics> for Operand
[src]
fn from(original: MemorySemantics) -> Operand
[src]
Performs the conversion.
impl From<MemoryAccess> for Operand
[src]
fn from(original: MemoryAccess) -> Operand
[src]
Performs the conversion.
impl From<KernelProfilingInfo> for Operand
[src]
fn from(original: KernelProfilingInfo) -> Operand
[src]
Performs the conversion.
impl From<SourceLanguage> for Operand
[src]
fn from(original: SourceLanguage) -> Operand
[src]
Performs the conversion.
impl From<ExecutionModel> for Operand
[src]
fn from(original: ExecutionModel) -> Operand
[src]
Performs the conversion.
impl From<AddressingModel> for Operand
[src]
fn from(original: AddressingModel) -> Operand
[src]
Performs the conversion.
impl From<MemoryModel> for Operand
[src]
fn from(original: MemoryModel) -> Operand
[src]
Performs the conversion.
impl From<ExecutionMode> for Operand
[src]
fn from(original: ExecutionMode) -> Operand
[src]
Performs the conversion.
impl From<StorageClass> for Operand
[src]
fn from(original: StorageClass) -> Operand
[src]
Performs the conversion.
impl From<Dim> for Operand
[src]
impl From<SamplerAddressingMode> for Operand
[src]
fn from(original: SamplerAddressingMode) -> Operand
[src]
Performs the conversion.
impl From<SamplerFilterMode> for Operand
[src]
fn from(original: SamplerFilterMode) -> Operand
[src]
Performs the conversion.
impl From<ImageFormat> for Operand
[src]
fn from(original: ImageFormat) -> Operand
[src]
Performs the conversion.
impl From<ImageChannelOrder> for Operand
[src]
fn from(original: ImageChannelOrder) -> Operand
[src]
Performs the conversion.
impl From<ImageChannelDataType> for Operand
[src]
fn from(original: ImageChannelDataType) -> Operand
[src]
Performs the conversion.
impl From<FPRoundingMode> for Operand
[src]
fn from(original: FPRoundingMode) -> Operand
[src]
Performs the conversion.
impl From<LinkageType> for Operand
[src]
fn from(original: LinkageType) -> Operand
[src]
Performs the conversion.
impl From<AccessQualifier> for Operand
[src]
fn from(original: AccessQualifier) -> Operand
[src]
Performs the conversion.
impl From<FunctionParameterAttribute> for Operand
[src]
fn from(original: FunctionParameterAttribute) -> Operand
[src]
Performs the conversion.
impl From<Decoration> for Operand
[src]
fn from(original: Decoration) -> Operand
[src]
Performs the conversion.
impl From<BuiltIn> for Operand
[src]
impl From<Scope> for Operand
[src]
impl From<GroupOperation> for Operand
[src]
fn from(original: GroupOperation) -> Operand
[src]
Performs the conversion.
impl From<KernelEnqueueFlags> for Operand
[src]
fn from(original: KernelEnqueueFlags) -> Operand
[src]
Performs the conversion.
impl From<Capability> for Operand
[src]
fn from(original: Capability) -> Operand
[src]
Performs the conversion.
impl From<u64> for Operand
[src]
impl From<f32> for Operand
[src]
impl From<f64> for Operand
[src]
impl From<Op> for Operand
[src]
impl From<String> for Operand
[src]
impl Display for Operand
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more