#[repr(u32)]pub enum StorageClass {
Show 29 variants
UniformConstant = 0,
Input = 1,
Uniform = 2,
Output = 3,
Workgroup = 4,
CrossWorkgroup = 5,
Private = 6,
Function = 7,
Generic = 8,
PushConstant = 9,
AtomicCounter = 10,
Image = 11,
StorageBuffer = 12,
TileImageEXT = 4_172,
TileAttachmentQCOM = 4_491,
NodePayloadAMDX = 5_068,
CallableDataKHR = 5_328,
IncomingCallableDataKHR = 5_329,
RayPayloadKHR = 5_338,
HitAttributeKHR = 5_339,
IncomingRayPayloadKHR = 5_342,
ShaderRecordBufferKHR = 5_343,
PhysicalStorageBuffer = 5_349,
HitObjectAttributeNV = 5_385,
TaskPayloadWorkgroupEXT = 5_402,
HitObjectAttributeEXT = 5_411,
CodeSectionINTEL = 5_605,
DeviceOnlyALTERA = 5_936,
HostOnlyALTERA = 5_937,
}Expand description
SPIR-V operand kind: StorageClass
Variants§
UniformConstant = 0
Input = 1
Uniform = 2
Output = 3
Workgroup = 4
CrossWorkgroup = 5
Private = 6
Function = 7
Generic = 8
PushConstant = 9
AtomicCounter = 10
Image = 11
StorageBuffer = 12
TileImageEXT = 4_172
TileAttachmentQCOM = 4_491
NodePayloadAMDX = 5_068
CallableDataKHR = 5_328
IncomingCallableDataKHR = 5_329
RayPayloadKHR = 5_338
HitAttributeKHR = 5_339
IncomingRayPayloadKHR = 5_342
ShaderRecordBufferKHR = 5_343
PhysicalStorageBuffer = 5_349
HitObjectAttributeNV = 5_385
TaskPayloadWorkgroupEXT = 5_402
HitObjectAttributeEXT = 5_411
CodeSectionINTEL = 5_605
DeviceOnlyALTERA = 5_936
HostOnlyALTERA = 5_937
Implementations§
Source§impl StorageClass
impl StorageClass
pub const CallableDataNV: Self = Self::CallableDataKHR
pub const IncomingCallableDataNV: Self = Self::IncomingCallableDataKHR
pub const RayPayloadNV: Self = Self::RayPayloadKHR
pub const HitAttributeNV: Self = Self::HitAttributeKHR
pub const IncomingRayPayloadNV: Self = Self::IncomingRayPayloadKHR
pub const ShaderRecordBufferNV: Self = Self::ShaderRecordBufferKHR
pub const PhysicalStorageBufferEXT: Self = Self::PhysicalStorageBuffer
pub const DeviceOnlyINTEL: Self = Self::DeviceOnlyALTERA
pub const HostOnlyINTEL: Self = Self::HostOnlyALTERA
Trait Implementations§
Source§impl Clone for StorageClass
impl Clone for StorageClass
Source§fn clone(&self) -> StorageClass
fn clone(&self) -> StorageClass
Returns a duplicate 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 StorageClass
impl Debug for StorageClass
Source§impl FromStr for StorageClass
impl FromStr for StorageClass
Source§impl Hash for StorageClass
impl Hash for StorageClass
Source§impl Ord for StorageClass
impl Ord for StorageClass
Source§fn cmp(&self, other: &StorageClass) -> Ordering
fn cmp(&self, other: &StorageClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StorageClass
impl PartialEq for StorageClass
Source§impl PartialOrd for StorageClass
impl PartialOrd for StorageClass
impl Copy for StorageClass
impl Eq for StorageClass
impl StructuralPartialEq for StorageClass
Auto Trait Implementations§
impl Freeze for StorageClass
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnsafeUnpin for StorageClass
impl UnwindSafe for StorageClass
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