Struct ocl::Event [] [src]

pub struct Event(_);

An event representing a command or user created event.

Methods

impl Event
[src]

Creates a new, empty event which must be filled by a newly initiated command, becoming associated with it.

Creates a new Event from a EventCore.

Safety

Not meant to be called directly.

Waits for all events in list to complete before returning.

Similar in function to Queue::finish().

Returns info about the event.

Returns info about the event.

Returns a reference to the core pointer wrapper, usable by functions in the core module.

Returns a mutable reference to the core pointer wrapper usable by functions in the core module.

Returns true if this event is 'empty' and has not yet been associated with a command.

Methods from Deref<Target=EventCore>

Returns an immutable reference to a pointer, do not deref and store it unless you will manage its associated reference count carefully.

Returns a mutable reference to a pointer, do not deref then modify or store it unless you will manage its associated reference count carefully.

[FIXME]: ADD VALIDITY CHECK BY CALLING '_INFO' OR SOMETHING: NULL CHECK IS NOT ENOUGH

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Into<EventCore> for Event
[src]

Performs the conversion.

impl Into<String> for Event
[src]

Performs the conversion.

impl Display for Event
[src]

Formats the value using the given formatter.

impl AsRef<EventCore> for Event
[src]

Performs the conversion.

impl Deref for Event
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for Event
[src]

The method called to mutably dereference a value

impl ClEventPtrNew for Event
[src]

impl<'a> ClEventPtrNew for &'a mut Event
[src]

impl ClWaitList for Event
[src]