[][src]Enum spirv_headers::StorageClass

#[repr(u32)]pub enum StorageClass {
    UniformConstant,
    Input,
    Uniform,
    Output,
    Workgroup,
    CrossWorkgroup,
    Private,
    Function,
    Generic,
    PushConstant,
    AtomicCounter,
    Image,
    StorageBuffer,
    CallableDataNV,
    IncomingCallableDataNV,
    RayPayloadNV,
    HitAttributeNV,
    IncomingRayPayloadNV,
    ShaderRecordBufferNV,
    PhysicalStorageBufferEXT,
}

/// SPIR-V operand kind: StorageClass

Variants

UniformConstant
Input
Uniform
Output
Workgroup
CrossWorkgroup
Private
Function
Generic
PushConstant
AtomicCounter
Image
StorageBuffer
CallableDataNV
IncomingCallableDataNV
RayPayloadNV
HitAttributeNV
IncomingRayPayloadNV
ShaderRecordBufferNV
PhysicalStorageBufferEXT

Methods

impl StorageClass[src]

pub fn required_capabilities(self) -> &'static [Capability][src]

Trait Implementations

impl Clone for StorageClass[src]

impl Copy for StorageClass[src]

impl Debug for StorageClass[src]

impl Eq for StorageClass[src]

impl FromPrimitive for StorageClass[src]

impl Hash for StorageClass[src]

impl Ord for StorageClass[src]

impl PartialEq<StorageClass> for StorageClass[src]

impl PartialOrd<StorageClass> for StorageClass[src]

impl StructuralEq for StorageClass[src]

impl StructuralPartialEq for StorageClass[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.