#[repr(u32)]pub enum Capability {
Show 56 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,
}
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
Implementations§
Source§impl Capability
impl Capability
pub fn from(val: u32) -> Option<Capability>
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
Source§impl Hash for Capability
impl Hash for Capability
Source§impl PartialEq for Capability
impl PartialEq for Capability
impl Copy for Capability
impl StructuralPartialEq for Capability
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnwindSafe for Capability
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
)