# ocl_core::types::enums::KernelInfoResult - Rust
API documentation for the Rust `KernelInfoResult` enum in crate `ocl_core`.
Keywords: rust, rustlang, rust-lang, KernelInfoResult

# Enum ocl_core::types::enums::KernelInfoResult [−] [src]

    pub enum KernelInfoResult {
        FunctionName(String),
        NumArgs(u32),
        ReferenceCount(u32),
        Context(Context),
        Program(Program),
        Attributes(String),
    }

A kernel info result.

## Variants

`FunctionName(String)` `NumArgs(u32)` `ReferenceCount(u32)` `Context(Context)` `Program(Program)` `Attributes(String)`

## Methods

### `impl KernelInfoResult`
[src]

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

## Trait Implementations

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

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

Formats the value using the given formatter. Read more

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

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

Formats the value using the given formatter. Read more

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

#### `fn from(ir: KernelInfoResult) -> 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`)