[][src]Enum spirv_headers::MemoryModel

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

SPIR-V operand kind: MemoryModel

Variants

Simple
GLSL450
OpenCL
VulkanKHR

Trait Implementations

impl Eq for MemoryModel[src]

impl Clone for MemoryModel[src]

impl PartialOrd<MemoryModel> for MemoryModel[src]

impl PartialEq<MemoryModel> for MemoryModel[src]

impl Ord for MemoryModel[src]

impl Copy for MemoryModel[src]

impl Hash for MemoryModel[src]

impl Debug for MemoryModel[src]

impl FromPrimitive for MemoryModel[src]

Auto Trait Implementations

impl Send for MemoryModel

impl Unpin for MemoryModel

impl Sync for MemoryModel

impl UnwindSafe for MemoryModel

impl RefUnwindSafe for MemoryModel

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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