pub enum StorageClass {
Show 23 variants
UniformConstant,
Input,
Uniform,
Output,
Workgroup,
CrossWorkgroup,
Private,
Function,
Generic,
PushConstant,
AtomicCounter,
Image,
StorageBuffer,
CallableDataKHR,
IncomingCallableDataKHR,
RayPayloadKHR,
HitAttributeKHR,
IncomingRayPayloadKHR,
ShaderRecordBufferKHR,
PhysicalStorageBuffer,
CodeSectionINTEL,
DeviceOnlyINTEL,
HostOnlyINTEL,
}
Variants
UniformConstant
Input
Uniform
Output
Workgroup
CrossWorkgroup
Private
Function
Generic
PushConstant
AtomicCounter
Image
StorageBuffer
CallableDataKHR
IncomingCallableDataKHR
RayPayloadKHR
HitAttributeKHR
IncomingRayPayloadKHR
ShaderRecordBufferKHR
PhysicalStorageBuffer
CodeSectionINTEL
DeviceOnlyINTEL
HostOnlyINTEL
Trait Implementations
sourceimpl Clone for StorageClass
impl Clone for StorageClass
sourcefn clone(&self) -> StorageClass
fn clone(&self) -> StorageClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorageClass
impl Debug for StorageClass
sourceimpl PartialEq<StorageClass> for StorageClass
impl PartialEq<StorageClass> for StorageClass
impl StructuralPartialEq for StorageClass
Auto Trait Implementations
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnwindSafe for StorageClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more