Enum ocl::enums::MemInfoResult [] [src]

pub enum MemInfoResult {
    Type(MemObjectType),
    Flags(MemFlags),
    Size(usize),
    HostPtr(Option<(*mut c_void, Option<usize>)>),
    MapCount(u32),
    ReferenceCount(u32),
    Context(Context),
    AssociatedMemobject(Option<Mem>),
    Offset(usize),
    Error(Box<Error>),
}

A mem info result.

[UNSTABLE][INCOMPLETE]

[TODO]: Do something with HostPtr. It should not be be a raw pointer.

Variants

Methods

impl MemInfoResult
[src]

Trait Implementations

impl Display for MemInfoResult
[src]

Formats the value using the given formatter. Read more

impl Error for MemInfoResult
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Debug for MemInfoResult
[src]

Formats the value using the given formatter.

impl From<Error> for MemInfoResult
[src]

Performs the conversion.