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

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§

source

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

Returns a pointer to the first pointer in this list.

source

fn count(&self) -> u32

Returns the number of items in this wait list.

Implementations on Foreign Types§

source§

impl<'a> ClWaitListPtr for &'a [Event]

source§

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

source§

fn count(&self) -> u32

source§

impl<'a> ClWaitListPtr for &'a [cl_event]

source§

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

source§

fn count(&self) -> u32

source§

impl<'a> ClWaitListPtr for ()

source§

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

source§

fn count(&self) -> u32

source§

impl<'a, W> ClWaitListPtr for Ref<'a, W>where W: ClWaitListPtr,

source§

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

source§

fn count(&self) -> u32

Implementors§