Enum spirv_cross2::spirv::Capability
source · #[repr(i32)]pub enum Capability {
Show 203 variants
Matrix = 0,
Shader = 1,
Geometry = 2,
Tessellation = 3,
Addresses = 4,
Linkage = 5,
Kernel = 6,
Vector16 = 7,
Float16Buffer = 8,
Float16 = 9,
Float64 = 10,
Int64 = 11,
Int64Atomics = 12,
ImageBasic = 13,
ImageReadWrite = 14,
ImageMipmap = 15,
Pipes = 17,
Groups = 18,
DeviceEnqueue = 19,
LiteralSampler = 20,
AtomicStorage = 21,
Int16 = 22,
TessellationPointSize = 23,
GeometryPointSize = 24,
ImageGatherExtended = 25,
StorageImageMultisample = 27,
UniformBufferArrayDynamicIndexing = 28,
SampledImageArrayDynamicIndexing = 29,
StorageBufferArrayDynamicIndexing = 30,
StorageImageArrayDynamicIndexing = 31,
ClipDistance = 32,
CullDistance = 33,
ImageCubeArray = 34,
SampleRateShading = 35,
ImageRect = 36,
SampledRect = 37,
GenericPointer = 38,
Int8 = 39,
InputAttachment = 40,
SparseResidency = 41,
MinLod = 42,
Sampled1D = 43,
Image1D = 44,
SampledCubeArray = 45,
SampledBuffer = 46,
ImageBuffer = 47,
ImageMSArray = 48,
StorageImageExtendedFormats = 49,
ImageQuery = 50,
DerivativeControl = 51,
InterpolationFunction = 52,
TransformFeedback = 53,
GeometryStreams = 54,
StorageImageReadWithoutFormat = 55,
StorageImageWriteWithoutFormat = 56,
MultiViewport = 57,
SubgroupDispatch = 58,
NamedBarrier = 59,
PipeStorage = 60,
GroupNonUniform = 61,
GroupNonUniformVote = 62,
GroupNonUniformArithmetic = 63,
GroupNonUniformBallot = 64,
GroupNonUniformShuffle = 65,
GroupNonUniformShuffleRelative = 66,
GroupNonUniformClustered = 67,
GroupNonUniformQuad = 68,
ShaderLayer = 69,
ShaderViewportIndex = 70,
UniformDecoration = 71,
FragmentShadingRateKHR = 4_422,
SubgroupBallotKHR = 4_423,
DrawParameters = 4_427,
WorkgroupMemoryExplicitLayoutKHR = 4_428,
WorkgroupMemoryExplicitLayout8BitAccessKHR = 4_429,
WorkgroupMemoryExplicitLayout16BitAccessKHR = 4_430,
SubgroupVoteKHR = 4_431,
StorageBuffer16BitAccess = 4_433,
StorageUniform16 = 4_434,
StoragePushConstant16 = 4_435,
StorageInputOutput16 = 4_436,
DeviceGroup = 4_437,
MultiView = 4_439,
VariablePointersStorageBuffer = 4_441,
VariablePointers = 4_442,
AtomicStorageOps = 4_445,
SampleMaskPostDepthCoverage = 4_447,
StorageBuffer8BitAccess = 4_448,
UniformAndStorageBuffer8BitAccess = 4_449,
StoragePushConstant8 = 4_450,
DenormPreserve = 4_464,
DenormFlushToZero = 4_465,
SignedZeroInfNanPreserve = 4_466,
RoundingModeRTE = 4_467,
RoundingModeRTZ = 4_468,
RayQueryProvisionalKHR = 4_471,
RayQueryKHR = 4_472,
RayTraversalPrimitiveCullingKHR = 4_478,
RayTracingKHR = 4_479,
TextureSampleWeightedQCOM = 4_484,
TextureBoxFilterQCOM = 4_485,
TextureBlockMatchQCOM = 4_486,
Float16ImageAMD = 5_008,
ImageGatherBiasLodAMD = 5_009,
FragmentMaskAMD = 5_010,
StencilExportEXT = 5_013,
ImageReadWriteLodAMD = 5_015,
Int64ImageEXT = 5_016,
ShaderClockKHR = 5_055,
SampleMaskOverrideCoverageNV = 5_249,
GeometryShaderPassthroughNV = 5_251,
ShaderViewportIndexLayerEXT = 5_254,
ShaderViewportMaskNV = 5_255,
ShaderStereoViewNV = 5_259,
PerViewAttributesNV = 5_260,
FragmentFullyCoveredEXT = 5_265,
MeshShadingNV = 5_266,
ImageFootprintNV = 5_282,
MeshShadingEXT = 5_283,
FragmentBarycentricKHR = 5_284,
ComputeDerivativeGroupQuadsNV = 5_288,
FragmentDensityEXT = 5_291,
GroupNonUniformPartitionedNV = 5_297,
ShaderNonUniform = 5_301,
RuntimeDescriptorArray = 5_302,
InputAttachmentArrayDynamicIndexing = 5_303,
UniformTexelBufferArrayDynamicIndexing = 5_304,
StorageTexelBufferArrayDynamicIndexing = 5_305,
UniformBufferArrayNonUniformIndexing = 5_306,
SampledImageArrayNonUniformIndexing = 5_307,
StorageBufferArrayNonUniformIndexing = 5_308,
StorageImageArrayNonUniformIndexing = 5_309,
InputAttachmentArrayNonUniformIndexing = 5_310,
UniformTexelBufferArrayNonUniformIndexing = 5_311,
StorageTexelBufferArrayNonUniformIndexing = 5_312,
RayTracingNV = 5_340,
RayTracingMotionBlurNV = 5_341,
VulkanMemoryModel = 5_345,
VulkanMemoryModelDeviceScope = 5_346,
PhysicalStorageBufferAddresses = 5_347,
ComputeDerivativeGroupLinearNV = 5_350,
RayTracingProvisionalKHR = 5_353,
CooperativeMatrixNV = 5_357,
FragmentShaderSampleInterlockEXT = 5_363,
FragmentShaderShadingRateInterlockEXT = 5_372,
ShaderSMBuiltinsNV = 5_373,
FragmentShaderPixelInterlockEXT = 5_378,
DemoteToHelperInvocation = 5_379,
BindlessTextureNV = 5_390,
SubgroupShuffleINTEL = 5_568,
SubgroupBufferBlockIOINTEL = 5_569,
SubgroupImageBlockIOINTEL = 5_570,
SubgroupImageMediaBlockIOINTEL = 5_579,
RoundToInfinityINTEL = 5_582,
FloatingPointModeINTEL = 5_583,
IntegerFunctions2INTEL = 5_584,
FunctionPointersINTEL = 5_603,
IndirectReferencesINTEL = 5_604,
AsmINTEL = 5_606,
AtomicFloat32MinMaxEXT = 5_612,
AtomicFloat64MinMaxEXT = 5_613,
AtomicFloat16MinMaxEXT = 5_616,
VectorComputeINTEL = 5_617,
VectorAnyINTEL = 5_619,
ExpectAssumeKHR = 5_629,
SubgroupAvcMotionEstimationINTEL = 5_696,
SubgroupAvcMotionEstimationIntraINTEL = 5_697,
SubgroupAvcMotionEstimationChromaINTEL = 5_698,
VariableLengthArrayINTEL = 5_817,
FunctionFloatControlINTEL = 5_821,
FPGAMemoryAttributesINTEL = 5_824,
FPFastMathModeINTEL = 5_837,
ArbitraryPrecisionIntegersINTEL = 5_844,
ArbitraryPrecisionFloatingPointINTEL = 5_845,
UnstructuredLoopControlsINTEL = 5_886,
FPGALoopControlsINTEL = 5_888,
KernelAttributesINTEL = 5_892,
FPGAKernelAttributesINTEL = 5_897,
FPGAMemoryAccessesINTEL = 5_898,
FPGAClusterAttributesINTEL = 5_904,
LoopFuseINTEL = 5_906,
MemoryAccessAliasingINTEL = 5_910,
FPGABufferLocationINTEL = 5_920,
ArbitraryPrecisionFixedPointINTEL = 5_922,
USMStorageClassesINTEL = 5_935,
IOPipesINTEL = 5_943,
BlockingPipesINTEL = 5_945,
FPGARegINTEL = 5_948,
DotProductInputAll = 6_016,
DotProductInput4x8Bit = 6_017,
DotProductInput4x8BitPacked = 6_018,
DotProduct = 6_019,
RayCullMaskKHR = 6_020,
BitInstructions = 6_025,
GroupNonUniformRotateKHR = 6_026,
AtomicFloat32AddEXT = 6_033,
AtomicFloat64AddEXT = 6_034,
LongConstantCompositeINTEL = 6_089,
OptNoneINTEL = 6_094,
AtomicFloat16AddEXT = 6_095,
DebugInfoModuleINTEL = 6_114,
SplitBarrierINTEL = 6_141,
GroupUniformArithmeticKHR = 6_400,
}Expand description
Variants§
Matrix = 0
Shader = 1
Geometry = 2
Tessellation = 3
Addresses = 4
Linkage = 5
Kernel = 6
Vector16 = 7
Float16Buffer = 8
Float16 = 9
Float64 = 10
Int64 = 11
Int64Atomics = 12
ImageBasic = 13
ImageReadWrite = 14
ImageMipmap = 15
Pipes = 17
Groups = 18
DeviceEnqueue = 19
LiteralSampler = 20
AtomicStorage = 21
Int16 = 22
TessellationPointSize = 23
GeometryPointSize = 24
ImageGatherExtended = 25
StorageImageMultisample = 27
UniformBufferArrayDynamicIndexing = 28
SampledImageArrayDynamicIndexing = 29
StorageBufferArrayDynamicIndexing = 30
StorageImageArrayDynamicIndexing = 31
ClipDistance = 32
CullDistance = 33
ImageCubeArray = 34
SampleRateShading = 35
ImageRect = 36
SampledRect = 37
GenericPointer = 38
Int8 = 39
InputAttachment = 40
SparseResidency = 41
MinLod = 42
Sampled1D = 43
Image1D = 44
SampledCubeArray = 45
SampledBuffer = 46
ImageBuffer = 47
ImageMSArray = 48
StorageImageExtendedFormats = 49
ImageQuery = 50
DerivativeControl = 51
InterpolationFunction = 52
TransformFeedback = 53
GeometryStreams = 54
StorageImageReadWithoutFormat = 55
StorageImageWriteWithoutFormat = 56
MultiViewport = 57
SubgroupDispatch = 58
NamedBarrier = 59
PipeStorage = 60
GroupNonUniform = 61
GroupNonUniformVote = 62
GroupNonUniformArithmetic = 63
GroupNonUniformBallot = 64
GroupNonUniformShuffle = 65
GroupNonUniformShuffleRelative = 66
GroupNonUniformClustered = 67
GroupNonUniformQuad = 68
ShaderLayer = 69
ShaderViewportIndex = 70
UniformDecoration = 71
FragmentShadingRateKHR = 4_422
SubgroupBallotKHR = 4_423
DrawParameters = 4_427
WorkgroupMemoryExplicitLayoutKHR = 4_428
WorkgroupMemoryExplicitLayout8BitAccessKHR = 4_429
WorkgroupMemoryExplicitLayout16BitAccessKHR = 4_430
SubgroupVoteKHR = 4_431
StorageBuffer16BitAccess = 4_433
StorageUniform16 = 4_434
StoragePushConstant16 = 4_435
StorageInputOutput16 = 4_436
DeviceGroup = 4_437
MultiView = 4_439
VariablePointersStorageBuffer = 4_441
VariablePointers = 4_442
AtomicStorageOps = 4_445
SampleMaskPostDepthCoverage = 4_447
StorageBuffer8BitAccess = 4_448
UniformAndStorageBuffer8BitAccess = 4_449
StoragePushConstant8 = 4_450
DenormPreserve = 4_464
DenormFlushToZero = 4_465
SignedZeroInfNanPreserve = 4_466
RoundingModeRTE = 4_467
RoundingModeRTZ = 4_468
RayQueryProvisionalKHR = 4_471
RayQueryKHR = 4_472
RayTraversalPrimitiveCullingKHR = 4_478
RayTracingKHR = 4_479
TextureSampleWeightedQCOM = 4_484
TextureBoxFilterQCOM = 4_485
TextureBlockMatchQCOM = 4_486
Float16ImageAMD = 5_008
ImageGatherBiasLodAMD = 5_009
FragmentMaskAMD = 5_010
StencilExportEXT = 5_013
ImageReadWriteLodAMD = 5_015
Int64ImageEXT = 5_016
ShaderClockKHR = 5_055
SampleMaskOverrideCoverageNV = 5_249
GeometryShaderPassthroughNV = 5_251
ShaderViewportIndexLayerEXT = 5_254
ShaderViewportMaskNV = 5_255
ShaderStereoViewNV = 5_259
PerViewAttributesNV = 5_260
FragmentFullyCoveredEXT = 5_265
MeshShadingNV = 5_266
ImageFootprintNV = 5_282
MeshShadingEXT = 5_283
FragmentBarycentricKHR = 5_284
ComputeDerivativeGroupQuadsNV = 5_288
FragmentDensityEXT = 5_291
GroupNonUniformPartitionedNV = 5_297
ShaderNonUniform = 5_301
RuntimeDescriptorArray = 5_302
InputAttachmentArrayDynamicIndexing = 5_303
UniformTexelBufferArrayDynamicIndexing = 5_304
StorageTexelBufferArrayDynamicIndexing = 5_305
UniformBufferArrayNonUniformIndexing = 5_306
SampledImageArrayNonUniformIndexing = 5_307
StorageBufferArrayNonUniformIndexing = 5_308
StorageImageArrayNonUniformIndexing = 5_309
InputAttachmentArrayNonUniformIndexing = 5_310
UniformTexelBufferArrayNonUniformIndexing = 5_311
StorageTexelBufferArrayNonUniformIndexing = 5_312
RayTracingNV = 5_340
RayTracingMotionBlurNV = 5_341
VulkanMemoryModel = 5_345
VulkanMemoryModelDeviceScope = 5_346
PhysicalStorageBufferAddresses = 5_347
ComputeDerivativeGroupLinearNV = 5_350
RayTracingProvisionalKHR = 5_353
CooperativeMatrixNV = 5_357
FragmentShaderSampleInterlockEXT = 5_363
FragmentShaderShadingRateInterlockEXT = 5_372
ShaderSMBuiltinsNV = 5_373
FragmentShaderPixelInterlockEXT = 5_378
DemoteToHelperInvocation = 5_379
BindlessTextureNV = 5_390
SubgroupShuffleINTEL = 5_568
SubgroupBufferBlockIOINTEL = 5_569
SubgroupImageBlockIOINTEL = 5_570
SubgroupImageMediaBlockIOINTEL = 5_579
RoundToInfinityINTEL = 5_582
FloatingPointModeINTEL = 5_583
IntegerFunctions2INTEL = 5_584
FunctionPointersINTEL = 5_603
IndirectReferencesINTEL = 5_604
AsmINTEL = 5_606
AtomicFloat32MinMaxEXT = 5_612
AtomicFloat64MinMaxEXT = 5_613
AtomicFloat16MinMaxEXT = 5_616
VectorComputeINTEL = 5_617
VectorAnyINTEL = 5_619
ExpectAssumeKHR = 5_629
SubgroupAvcMotionEstimationINTEL = 5_696
SubgroupAvcMotionEstimationIntraINTEL = 5_697
SubgroupAvcMotionEstimationChromaINTEL = 5_698
VariableLengthArrayINTEL = 5_817
FunctionFloatControlINTEL = 5_821
FPGAMemoryAttributesINTEL = 5_824
FPFastMathModeINTEL = 5_837
ArbitraryPrecisionIntegersINTEL = 5_844
ArbitraryPrecisionFloatingPointINTEL = 5_845
UnstructuredLoopControlsINTEL = 5_886
FPGALoopControlsINTEL = 5_888
KernelAttributesINTEL = 5_892
FPGAKernelAttributesINTEL = 5_897
FPGAMemoryAccessesINTEL = 5_898
FPGAClusterAttributesINTEL = 5_904
LoopFuseINTEL = 5_906
MemoryAccessAliasingINTEL = 5_910
FPGABufferLocationINTEL = 5_920
ArbitraryPrecisionFixedPointINTEL = 5_922
USMStorageClassesINTEL = 5_935
IOPipesINTEL = 5_943
BlockingPipesINTEL = 5_945
FPGARegINTEL = 5_948
DotProductInputAll = 6_016
DotProductInput4x8Bit = 6_017
DotProductInput4x8BitPacked = 6_018
DotProduct = 6_019
RayCullMaskKHR = 6_020
BitInstructions = 6_025
GroupNonUniformRotateKHR = 6_026
AtomicFloat32AddEXT = 6_033
AtomicFloat64AddEXT = 6_034
LongConstantCompositeINTEL = 6_089
OptNoneINTEL = 6_094
AtomicFloat16AddEXT = 6_095
DebugInfoModuleINTEL = 6_114
SplitBarrierINTEL = 6_141
GroupUniformArithmeticKHR = 6_400
Implementations§
source§impl SpvCapability
impl SpvCapability
pub const StorageUniformBufferBlock16: SpvCapability = SpvCapability::StorageBuffer16BitAccess
source§impl SpvCapability
impl SpvCapability
pub const UniformAndStorageBuffer16BitAccess: SpvCapability = SpvCapability::StorageUniform16
source§impl SpvCapability
impl SpvCapability
pub const ShaderViewportIndexLayerNV: SpvCapability = SpvCapability::ShaderViewportIndexLayerEXT
source§impl SpvCapability
impl SpvCapability
pub const FragmentBarycentricNV: SpvCapability = SpvCapability::FragmentBarycentricKHR
source§impl SpvCapability
impl SpvCapability
pub const ShadingRateNV: SpvCapability = SpvCapability::FragmentDensityEXT
source§impl SpvCapability
impl SpvCapability
pub const ShaderNonUniformEXT: SpvCapability = SpvCapability::ShaderNonUniform
source§impl SpvCapability
impl SpvCapability
pub const RuntimeDescriptorArrayEXT: SpvCapability = SpvCapability::RuntimeDescriptorArray
source§impl SpvCapability
impl SpvCapability
pub const InputAttachmentArrayDynamicIndexingEXT: SpvCapability = SpvCapability::InputAttachmentArrayDynamicIndexing
source§impl SpvCapability
impl SpvCapability
pub const UniformTexelBufferArrayDynamicIndexingEXT: SpvCapability = SpvCapability::UniformTexelBufferArrayDynamicIndexing
source§impl SpvCapability
impl SpvCapability
pub const StorageTexelBufferArrayDynamicIndexingEXT: SpvCapability = SpvCapability::StorageTexelBufferArrayDynamicIndexing
source§impl SpvCapability
impl SpvCapability
pub const UniformBufferArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::UniformBufferArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const SampledImageArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::SampledImageArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const StorageBufferArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::StorageBufferArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const StorageImageArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::StorageImageArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const InputAttachmentArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::InputAttachmentArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const UniformTexelBufferArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::UniformTexelBufferArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const StorageTexelBufferArrayNonUniformIndexingEXT: SpvCapability = SpvCapability::StorageTexelBufferArrayNonUniformIndexing
source§impl SpvCapability
impl SpvCapability
pub const VulkanMemoryModelKHR: SpvCapability = SpvCapability::VulkanMemoryModel
source§impl SpvCapability
impl SpvCapability
pub const VulkanMemoryModelDeviceScopeKHR: SpvCapability = SpvCapability::VulkanMemoryModelDeviceScope
source§impl SpvCapability
impl SpvCapability
pub const PhysicalStorageBufferAddressesEXT: SpvCapability = SpvCapability::PhysicalStorageBufferAddresses
source§impl SpvCapability
impl SpvCapability
pub const DemoteToHelperInvocationEXT: SpvCapability = SpvCapability::DemoteToHelperInvocation
source§impl SpvCapability
impl SpvCapability
pub const DotProductInputAllKHR: SpvCapability = SpvCapability::DotProductInputAll
source§impl SpvCapability
impl SpvCapability
pub const DotProductInput4x8BitKHR: SpvCapability = SpvCapability::DotProductInput4x8Bit
source§impl SpvCapability
impl SpvCapability
pub const DotProductInput4x8BitPackedKHR: SpvCapability = SpvCapability::DotProductInput4x8BitPacked
source§impl SpvCapability
impl SpvCapability
pub const DotProductKHR: SpvCapability = SpvCapability::DotProduct
Trait Implementations§
source§impl Clone for SpvCapability
impl Clone for SpvCapability
source§fn clone(&self) -> SpvCapability
fn clone(&self) -> SpvCapability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SpvCapability
impl Debug for SpvCapability
source§impl FromPrimitive for SpvCapability
impl FromPrimitive for SpvCapability
source§fn from_i64(n: i64) -> Option<SpvCapability>
fn from_i64(n: i64) -> Option<SpvCapability>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u64(n: u64) -> Option<SpvCapability>
fn from_u64(n: u64) -> Option<SpvCapability>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moresource§impl Hash for SpvCapability
impl Hash for SpvCapability
source§impl PartialEq for SpvCapability
impl PartialEq for SpvCapability
source§impl ToPrimitive for SpvCapability
impl ToPrimitive for SpvCapability
source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self to an i64. If the value cannot be
represented by an i64, then None is returned.source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self to a u64. If the value cannot be
represented by a u64, then None is returned.source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self to an isize. If the value cannot be
represented by an isize, then None is returned.source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self to an i8. If the value cannot be
represented by an i8, then None is returned.source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self to an i16. If the value cannot be
represented by an i16, then None is returned.source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self to an i32. If the value cannot be
represented by an i32, then None is returned.source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moresource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self to a usize. If the value cannot be
represented by a usize, then None is returned.source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self to a u8. If the value cannot be
represented by a u8, then None is returned.source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self to a u16. If the value cannot be
represented by a u16, then None is returned.source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self to a u32. If the value cannot be
represented by a u32, then None is returned.source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self to a u128. If the value cannot be
represented by a u128 (u64 under the default implementation), then
None is returned. Read moreimpl Copy for SpvCapability
impl Eq for SpvCapability
impl StructuralPartialEq for SpvCapability
Auto Trait Implementations§
impl Freeze for SpvCapability
impl RefUnwindSafe for SpvCapability
impl Send for SpvCapability
impl Sync for SpvCapability
impl Unpin for SpvCapability
impl UnwindSafe for SpvCapability
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)