[][src]Enum dynamic_ocl::device::MemCacheType

#[repr(u32)]
pub enum MemCacheType {
    None,
    ReadOnly,
    ReadWrite,
}

Type of cache memory supported by a device

Variants

None
ReadOnly
ReadWrite

Methods

impl MemCacheType[src]

pub const fn raw(self) -> cl_device_mem_cache_type[src]

Get the raw value of this flag

pub fn from_raw(value: cl_device_mem_cache_type) -> Option<Self>[src]

Trait Implementations

impl Clone for MemCacheType[src]

impl Copy for MemCacheType[src]

impl Debug for MemCacheType[src]

impl Eq for MemCacheType[src]

impl FromOclInfo for MemCacheType[src]

impl Hash for MemCacheType[src]

impl PartialEq<MemCacheType> for MemCacheType[src]

impl StructuralEq for MemCacheType[src]

impl StructuralPartialEq for MemCacheType[src]

Auto Trait Implementations

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> Same<T> for T

type Output = T

Should always be Self

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.