# Enum ocl::enums::ImageInfoResult [−] [src]

    pub enum ImageInfoResult {
        Format(Result<ImageFormat, ImageFormatParseError>),
        ElementSize(usize),
        RowPitch(usize),
        SlicePitch(usize),
        Width(usize),
        Height(usize),
        Depth(usize),
        ArraySize(usize),
        Buffer(Option<Mem>),
        NumMipLevels(u32),
        NumSamples(u32),
    }

An image info result.

## Variants

`Format(Result<ImageFormat, ImageFormatParseError>)` `ElementSize(usize)` `RowPitch(usize)` `SlicePitch(usize)` `Width(usize)` `Height(usize)` `Depth(usize)` `ArraySize(usize)` `Buffer(Option<Mem>)` `NumMipLevels(u32)` `NumSamples(u32)`

## Methods

### `impl ImageInfoResult`
[src]

#### `pub fn from_bytes(
request: ImageInfo,
result: Vec<u8>
) -> Result<ImageInfoResult, Error>`
[src]

## Trait Implementations

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

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

Formats the value using the given formatter. Read more

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

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

Performs the conversion.

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

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

Formats the value using the given formatter. Read more

# 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`)