# Trait ocl_core::types::abs::MemCmdRw [−] [src]

    pub unsafe trait MemCmdRw { }

Types which can be passed as the primary (`ptr`) argument value to `::enqueue_read_buffer`, `::enqueue_write_buffer`, `::enqueue_read_buffer_rect`, `::enqueue_write_buffer_rect`, `::enqueue_read_image`, or `::enqueue_write_image`.

These may be device or host side memory buffers.

Types returned from `::enqueue_map_...` and all of their derivatives as well as types created with `::create_buffer` and `::create_image` all implement this trait.

## Implementors

- [src]
  `impl<'a> MemCmdRw for Mem`
- [src]
  `impl<'a> MemCmdRw for &'a Mem`
- [src]
  `impl<'a> MemCmdRw for &'a mut Mem`
- [src]
  `impl<'a> MemCmdRw for &'a &'a Mem`
- [src]
  `impl<'a> MemCmdRw for &'a &'a mut Mem`
- [src]
  `impl<T: OclPrm> MemCmdRw for MemMap<T>`
- [src]
  `impl<'a, T: OclPrm> MemCmdRw for &'a MemMap<T>`
- [src]
  `impl<'a, T: OclPrm> MemCmdRw for &'a mut MemMap<T>`

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