pub struct Event { /* fields omitted */ }
Expand description
An OpenCL event object.
Has methods to return information from calls to clGetEventInfo and
clGetEventProfilingInfo with the appropriate parameters.
Implements the Drop trait to call release_event when the object is dropped.
Create an Event from an OpenCL cl_event.
event
- a valid OpenCL cl_event.
returns the new Event
Get the underlying OpenCL cl_event.
Wait for the event to complete.
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.