pub struct WellKnown {Show 100 fields
pub OpNop: Opcode,
pub OpCapability: Opcode,
pub OpExtension: Opcode,
pub OpExtInstImport: Opcode,
pub OpExtInst: Opcode,
pub OpMemoryModel: Opcode,
pub OpEntryPoint: Opcode,
pub OpExecutionMode: Opcode,
pub OpExecutionModeId: Opcode,
pub OpString: Opcode,
pub OpSource: Opcode,
pub OpSourceContinued: Opcode,
pub OpSourceExtension: Opcode,
pub OpName: Opcode,
pub OpMemberName: Opcode,
pub OpModuleProcessed: Opcode,
pub OpDecorate: Opcode,
pub OpMemberDecorate: Opcode,
pub OpDecorateId: Opcode,
pub OpDecorateString: Opcode,
pub OpMemberDecorateString: Opcode,
pub OpDecorationGroup: Opcode,
pub OpGroupDecorate: Opcode,
pub OpGroupMemberDecorate: Opcode,
pub OpLine: Opcode,
pub OpNoLine: Opcode,
pub OpTypeVoid: Opcode,
pub OpTypeBool: Opcode,
pub OpTypeInt: Opcode,
pub OpTypeFloat: Opcode,
pub OpTypeVector: Opcode,
pub OpTypeMatrix: Opcode,
pub OpTypeArray: Opcode,
pub OpTypeRuntimeArray: Opcode,
pub OpTypeStruct: Opcode,
pub OpTypeForwardPointer: Opcode,
pub OpTypePointer: Opcode,
pub OpTypeFunction: Opcode,
pub OpTypeImage: Opcode,
pub OpTypeSampler: Opcode,
pub OpTypeSampledImage: Opcode,
pub OpTypeAccelerationStructureKHR: Opcode,
pub OpConstantFalse: Opcode,
pub OpConstantTrue: Opcode,
pub OpConstant: Opcode,
pub OpUndef: Opcode,
pub OpVariable: Opcode,
pub OpFunction: Opcode,
pub OpFunctionParameter: Opcode,
pub OpFunctionEnd: Opcode,
pub OpLabel: Opcode,
pub OpPhi: Opcode,
pub OpSelectionMerge: Opcode,
pub OpLoopMerge: Opcode,
pub OpUnreachable: Opcode,
pub OpReturn: Opcode,
pub OpReturnValue: Opcode,
pub OpBranch: Opcode,
pub OpBranchConditional: Opcode,
pub OpSwitch: Opcode,
pub OpFunctionCall: Opcode,
pub OpLoad: Opcode,
pub OpStore: Opcode,
pub OpArrayLength: Opcode,
pub OpAccessChain: Opcode,
pub OpInBoundsAccessChain: Opcode,
pub OpPtrAccessChain: Opcode,
pub OpInBoundsPtrAccessChain: Opcode,
pub OpBitcast: Opcode,
pub Capability: OperandKind,
pub AddressingModel: OperandKind,
pub MemoryModel: OperandKind,
pub SourceLanguage: OperandKind,
pub StorageClass: OperandKind,
pub FunctionControl: OperandKind,
pub Decoration: OperandKind,
pub LinkageType: OperandKind,
pub SelectionControl: OperandKind,
pub LoopControl: OperandKind,
pub LiteralInteger: OperandKind,
pub LiteralExtInstInteger: OperandKind,
pub LiteralString: OperandKind,
pub LiteralContextDependentNumber: OperandKind,
pub Logical: u32,
pub Function: u32,
pub UniformConstant: u32,
pub Input: u32,
pub Output: u32,
pub IncomingRayPayloadKHR: u32,
pub IncomingCallableDataKHR: u32,
pub HitAttributeKHR: u32,
pub RayPayloadKHR: u32,
pub CallableDataKHR: u32,
pub LinkageAttributes: u32,
pub ArrayStride: u32,
pub Block: u32,
pub RowMajor: u32,
pub Offset: u32,
pub Import: u32,
pub Export: u32,
}
Fields§
§OpNop: Opcode
§OpCapability: Opcode
§OpExtension: Opcode
§OpExtInstImport: Opcode
§OpExtInst: Opcode
§OpMemoryModel: Opcode
§OpEntryPoint: Opcode
§OpExecutionMode: Opcode
§OpExecutionModeId: Opcode
§OpString: Opcode
§OpSource: Opcode
§OpSourceContinued: Opcode
§OpSourceExtension: Opcode
§OpName: Opcode
§OpMemberName: Opcode
§OpModuleProcessed: Opcode
§OpDecorate: Opcode
§OpMemberDecorate: Opcode
§OpDecorateId: Opcode
§OpDecorateString: Opcode
§OpMemberDecorateString: Opcode
§OpDecorationGroup: Opcode
§OpGroupDecorate: Opcode
§OpGroupMemberDecorate: Opcode
§OpLine: Opcode
§OpNoLine: Opcode
§OpTypeVoid: Opcode
§OpTypeBool: Opcode
§OpTypeInt: Opcode
§OpTypeFloat: Opcode
§OpTypeVector: Opcode
§OpTypeMatrix: Opcode
§OpTypeArray: Opcode
§OpTypeRuntimeArray: Opcode
§OpTypeStruct: Opcode
§OpTypeForwardPointer: Opcode
§OpTypePointer: Opcode
§OpTypeFunction: Opcode
§OpTypeImage: Opcode
§OpTypeSampler: Opcode
§OpTypeSampledImage: Opcode
§OpTypeAccelerationStructureKHR: Opcode
§OpConstantFalse: Opcode
§OpConstantTrue: Opcode
§OpConstant: Opcode
§OpUndef: Opcode
§OpVariable: Opcode
§OpFunction: Opcode
§OpFunctionParameter: Opcode
§OpFunctionEnd: Opcode
§OpLabel: Opcode
§OpPhi: Opcode
§OpSelectionMerge: Opcode
§OpLoopMerge: Opcode
§OpUnreachable: Opcode
§OpReturn: Opcode
§OpReturnValue: Opcode
§OpBranch: Opcode
§OpBranchConditional: Opcode
§OpSwitch: Opcode
§OpFunctionCall: Opcode
§OpLoad: Opcode
§OpStore: Opcode
§OpArrayLength: Opcode
§OpAccessChain: Opcode
§OpInBoundsAccessChain: Opcode
§OpPtrAccessChain: Opcode
§OpInBoundsPtrAccessChain: Opcode
§OpBitcast: Opcode
§Capability: OperandKind
§AddressingModel: OperandKind
§MemoryModel: OperandKind
§SourceLanguage: OperandKind
§StorageClass: OperandKind
§FunctionControl: OperandKind
§Decoration: OperandKind
§LinkageType: OperandKind
§SelectionControl: OperandKind
§LoopControl: OperandKind
§LiteralInteger: OperandKind
§LiteralExtInstInteger: OperandKind
§LiteralString: OperandKind
§LiteralContextDependentNumber: OperandKind
§Logical: u32
§Function: u32
§UniformConstant: u32
§Input: u32
§Output: u32
§IncomingRayPayloadKHR: u32
§IncomingCallableDataKHR: u32
§HitAttributeKHR: u32
§RayPayloadKHR: u32
§CallableDataKHR: u32
§LinkageAttributes: u32
§ArrayStride: u32
§Block: u32
§RowMajor: u32
§Offset: u32
§Import: u32
§Export: u32
Auto Trait Implementations§
impl Freeze for WellKnown
impl RefUnwindSafe for WellKnown
impl Send for WellKnown
impl Sync for WellKnown
impl Unpin for WellKnown
impl UnwindSafe for WellKnown
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more