# Enum ocl_core::types::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),
    }

A mem info result.

[UNSTABLE][INCOMPLETE]

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

## Variants

`Type(MemObjectType)` `Flags(MemFlags)` `Size(usize)` `HostPtr(Option<(*mut c_void, Option<usize>)>)` `MapCount(u32)` `ReferenceCount(u32)` `Context(Context)` `AssociatedMemobject(Option<Mem>)` `Offset(usize)`

## Methods

### `impl MemInfoResult`
[src]

#### `pub fn from_bytes(
request: MemInfo,
result: Vec<u8>
) -> OclCoreResult<MemInfoResult>`
[src]

## Trait Implementations

### `impl Debug for MemInfoResult`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl Display for MemInfoResult`
[src]

#### `fn fmt(&self, f: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

### `impl From<MemInfoResult> for String`
[src]

#### `fn from(ir: MemInfoResult) -> String`
[src]

Performs the conversion.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)