[][src]Enum spirv_headers::MemoryModel

#[repr(u32)]pub enum MemoryModel {
    Simple,
    GLSL450,
    OpenCL,
    VulkanKHR,
}

/// SPIR-V operand kind: MemoryModel

Variants

Simple
GLSL450
OpenCL
VulkanKHR

Methods

impl MemoryModel[src]

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

Trait Implementations

impl Clone for MemoryModel[src]

impl Copy for MemoryModel[src]

impl Debug for MemoryModel[src]

impl Eq for MemoryModel[src]

impl FromPrimitive for MemoryModel[src]

impl Hash for MemoryModel[src]

impl Ord for MemoryModel[src]

impl PartialEq<MemoryModel> for MemoryModel[src]

impl PartialOrd<MemoryModel> for MemoryModel[src]

impl StructuralEq for MemoryModel[src]

impl StructuralPartialEq for MemoryModel[src]

Auto Trait Implementations

impl RefUnwindSafe for MemoryModel

impl Send for MemoryModel

impl Sync for MemoryModel

impl Unpin for MemoryModel

impl UnwindSafe for MemoryModel

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.