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

    pub unsafe trait ClWaitListPtr: Debug {
        unsafe fn as_ptr_ptr(&self) -> *const cl_event;
        fn count(&self) -> u32;
    }

Types with a reference to a raw event array and an associated element count.

[TODO]: Create an enum to be used with this trait.

## Required Methods

### `unsafe fn as_ptr_ptr(&self) -> *const cl_event`

Returns a pointer to the first pointer in this list.

### `fn count(&self) -> u32`

Returns the number of items in this wait list.

## Implementations on Foreign Types

### `impl<'a, W> ClWaitListPtr for Ref<'a, W> where
W: ClWaitListPtr,`
[src]

#### `unsafe fn as_ptr_ptr(&self) -> *const cl_event`
[src]

#### `fn count(&self) -> u32`
[src]

### `impl<'a> ClWaitListPtr for &'a [cl_event]`
[src]

#### `unsafe fn as_ptr_ptr(&self) -> *const cl_event`
[src]

#### `fn count(&self) -> u32`
[src]

### `impl<'a> ClWaitListPtr for &'a [Event]`
[src]

#### `unsafe fn as_ptr_ptr(&self) -> *const cl_event`
[src]

#### `fn count(&self) -> u32`
[src]

### `impl<'a> ClWaitListPtr for ()`
[src]

#### `unsafe fn as_ptr_ptr(&self) -> *const cl_event`
[src]

#### `fn count(&self) -> u32`
[src]

## Implementors

- [src]
  `impl ClWaitListPtr for Event`
- [src]
  `impl<'a> ClWaitListPtr for &'a Event`

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