blaze-rs 1.0.3

A Rustified OpenCL Experience
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Consumers

An event's `Consumer` is the responsable to perform the necessary underlying operations when the event has completed, with the ability to return a value.

```rust,ignore
pub trait Consumer<'a>: 'a {
    type Output;
    
    unsafe fn consume (self) -> Result<Self::Output>;
}
```