# ocl_core::types::structs - Rust
API documentation for the Rust `structs` mod in crate `ocl_core`.
Keywords: rust, rustlang, rust-lang, structs

# Module ocl_core::types::structs [−] [src]

Rust implementations of various structs used by the OpenCL API.

## Structs

ArgVal | A reference to a kernel argument value.
BufferRegion | Defines a buffer region for creating a sub-buffer.
ContextProperties | Context properties list.
ImageDescriptor | An image descriptor use in the creation of `Image`.
ImageFormat | Image format properties used by `Image`.
OpenclVersion | Parsed OpenCL version in the layout `({major}, {minor})`.

## Enums

ContextPropertyValue |
ImageFormatParseError |

## Type Definitions

ImageFormatParseResult |
TemporaryPlaceholderType |

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