# Trait ocl::traits::OclVec [−] [src]

    pub unsafe trait OclVec: OclPrm + OclNum { }

A vector type usable within `OpenCL` kernels.

To describe the contents of buffers, etc., prefer using the more general `OclPrm` trait unless numeric operations are required.

## Implementors

- [src]
  `impl OclVec for Double4`
- [src]
  `impl OclVec for Long4`
- [src]
  `impl OclVec for Long8`
- [src]
  `impl OclVec for Long2`
- [src]
  `impl OclVec for Short2`
- [src]
  `impl OclVec for Uint4`
- [src]
  `impl OclVec for Int`
- [src]
  `impl OclVec for Uint8`
- [src]
  `impl OclVec for Int2`
- [src]
  `impl OclVec for Float2`
- [src]
  `impl OclVec for Ushort3`
- [src]
  `impl OclVec for Double3`
- [src]
  `impl OclVec for Char4`
- [src]
  `impl OclVec for Ulong16`
- [src]
  `impl OclVec for Float`
- [src]
  `impl OclVec for Double`
- [src]
  `impl OclVec for Ulong8`
- [src]
  `impl OclVec for Ushort2`
- [src]
  `impl OclVec for Double2`
- [src]
  `impl OclVec for Short4`
- [src]
  `impl OclVec for Long`
- [src]
  `impl OclVec for Uchar16`
- [src]
  `impl OclVec for Short3`
- [src]
  `impl OclVec for Char3`
- [src]
  `impl OclVec for Float3`
- [src]
  `impl OclVec for Uint3`
- [src]
  `impl OclVec for Ushort4`
- [src]
  `impl OclVec for Ulong3`
- [src]
  `impl OclVec for Float16`
- [src]
  `impl OclVec for Char2`
- [src]
  `impl OclVec for Uchar4`
- [src]
  `impl OclVec for Uchar`
- [src]
  `impl OclVec for Double8`
- [src]
  `impl OclVec for Uint16`
- [src]
  `impl OclVec for Double16`
- [src]
  `impl OclVec for Int3`
- [src]
  `impl OclVec for Int8`
- [src]
  `impl OclVec for Short8`
- [src]
  `impl OclVec for Long16`
- [src]
  `impl OclVec for Short16`
- [src]
  `impl OclVec for Float4`
- [src]
  `impl OclVec for Ushort8`
- [src]
  `impl OclVec for Int4`
- [src]
  `impl OclVec for Ulong2`
- [src]
  `impl OclVec for Uchar8`
- [src]
  `impl OclVec for Uint2`
- [src]
  `impl OclVec for Short`
- [src]
  `impl OclVec for Uchar3`
- [src]
  `impl OclVec for Uint`
- [src]
  `impl OclVec for Int16`
- [src]
  `impl OclVec for Ushort16`
- [src]
  `impl OclVec for Long3`
- [src]
  `impl OclVec for Float8`
- [src]
  `impl OclVec for Char`
- [src]
  `impl OclVec for Char16`
- [src]
  `impl OclVec for Ulong4`
- [src]
  `impl OclVec for Char8`
- [src]
  `impl OclVec for Uchar2`
- [src]
  `impl OclVec for Ulong`
- [src]
  `impl OclVec for Ushort`

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