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

Trait Implementations

impl Assemble for Operand
[src]

Assembles the current object and returns the binary code.

impl Disassemble for Operand
[src]

Disassembles the current object and returns the assembly code.

impl Clone for Operand
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Operand
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Operand
[src]

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

This method tests for !=.

impl From<ImageOperands> for Operand
[src]

Performs the conversion.

impl From<FPFastMathMode> for Operand
[src]

Performs the conversion.

impl From<SelectionControl> for Operand
[src]

Performs the conversion.

impl From<LoopControl> for Operand
[src]

Performs the conversion.

impl From<FunctionControl> for Operand
[src]

Performs the conversion.

impl From<MemorySemantics> for Operand
[src]

Performs the conversion.

impl From<MemoryAccess> for Operand
[src]

Performs the conversion.

impl From<KernelProfilingInfo> for Operand
[src]

Performs the conversion.

impl From<SourceLanguage> for Operand
[src]

Performs the conversion.

impl From<ExecutionModel> for Operand
[src]

Performs the conversion.

impl From<AddressingModel> for Operand
[src]

Performs the conversion.

impl From<MemoryModel> for Operand
[src]

Performs the conversion.

impl From<ExecutionMode> for Operand
[src]

Performs the conversion.

impl From<StorageClass> for Operand
[src]

Performs the conversion.

impl From<Dim> for Operand
[src]

Performs the conversion.

impl From<SamplerAddressingMode> for Operand
[src]

Performs the conversion.

impl From<SamplerFilterMode> for Operand
[src]

Performs the conversion.

impl From<ImageFormat> for Operand
[src]

Performs the conversion.

impl From<ImageChannelOrder> for Operand
[src]

Performs the conversion.

impl From<ImageChannelDataType> for Operand
[src]

Performs the conversion.

impl From<FPRoundingMode> for Operand
[src]

Performs the conversion.

impl From<LinkageType> for Operand
[src]

Performs the conversion.

impl From<AccessQualifier> for Operand
[src]

Performs the conversion.

impl From<FunctionParameterAttribute> for Operand
[src]

Performs the conversion.

impl From<Decoration> for Operand
[src]

Performs the conversion.

impl From<BuiltIn> for Operand
[src]

Performs the conversion.

impl From<Scope> for Operand
[src]

Performs the conversion.

impl From<GroupOperation> for Operand
[src]

Performs the conversion.

impl From<KernelEnqueueFlags> for Operand
[src]

Performs the conversion.

impl From<Capability> for Operand
[src]

Performs the conversion.

impl From<u64> for Operand
[src]

Performs the conversion.

impl From<f32> for Operand
[src]

Performs the conversion.

impl From<f64> for Operand
[src]

Performs the conversion.

impl From<Op> for Operand
[src]

Performs the conversion.

impl From<String> for Operand
[src]

Performs the conversion.

impl Display for Operand
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for Operand
[src]

Performs the conversion.

impl From<u32> for Operand
[src]

Converts the given u32 val into an Operand::LiteralInt32.

Auto Trait Implementations

impl Send for Operand

impl Sync for Operand