Enum ocl::builders::ClWaitListPtrEnum
[−]
[src]
pub enum ClWaitListPtrEnum<'a> {
Null,
RawEventArray(&'a RawEventArray),
EventCoreOwned(EventCore),
EventOwned(Event),
EventCore(&'a EventCore),
Event(&'a Event),
EventList(&'a EventList),
EventSlice(&'a [Event]),
EventPtrSlice(&'a [cl_event]),
RefEventList(Ref<'a, EventList>),
RefTraitObj(Ref<'a, ClWaitListPtr>),
BoxTraitObj(Box<ClWaitListPtr>),
}An enum which can represent several different ways of representing a event wait list.
Variants
NullRawEventArray(&'a RawEventArray)EventCoreOwned(EventCore)EventOwned(Event)EventCore(&'a EventCore)Event(&'a Event)EventList(&'a EventList)EventSlice(&'a [Event])EventPtrSlice(&'a [cl_event])RefEventList(Ref<'a, EventList>)RefTraitObj(Ref<'a, ClWaitListPtr>)BoxTraitObj(Box<ClWaitListPtr>)Methods
impl<'a> ClWaitListPtrEnum<'a>[src]
fn into_marker(self, queue: &Queue) -> OclResult<Event>
Converts this ClWaitListPtrEnum into a single marker event.
fn to_list(&self) -> EventList
Returns an EventList containing owned copies of each element in
this ClWaitListPtrEnum.
Trait Implementations
impl<'a> Debug for ClWaitListPtrEnum<'a>[src]
impl<'a> ClWaitListPtr for ClWaitListPtrEnum<'a>[src]
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.
impl<'a> From<&'a RawEventArray> for ClWaitListPtrEnum<'a>[src]
fn from(e: &'a RawEventArray) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<EventCore> for ClWaitListPtrEnum<'a>[src]
fn from(e: EventCore) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a EventCore> for ClWaitListPtrEnum<'a>[src]
fn from(e: &'a EventCore) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a mut EventCore> for ClWaitListPtrEnum<'a>[src]
fn from(e: &'a mut EventCore) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<Event> for ClWaitListPtrEnum<'a>[src]
fn from(e: Event) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a Event> for ClWaitListPtrEnum<'a>[src]
fn from(e: &'a Event) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a mut Event> for ClWaitListPtrEnum<'a>[src]
fn from(e: &'a mut Event) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a EventList> for ClWaitListPtrEnum<'a>[src]
fn from(el: &'a EventList) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a mut EventList> for ClWaitListPtrEnum<'a>[src]
fn from(el: &'a mut EventList) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a [Event]> for ClWaitListPtrEnum<'a>[src]
fn from(es: &'a [Event]) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a mut [Event]> for ClWaitListPtrEnum<'a>[src]
fn from(es: &'a mut [Event]) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a [cl_event]> for ClWaitListPtrEnum<'a>[src]
fn from(el: &'a [cl_event]) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<&'a mut [cl_event]> for ClWaitListPtrEnum<'a>[src]
fn from(el: &'a mut [cl_event]) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<()> for ClWaitListPtrEnum<'a>[src]
fn from(_: ()) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<Ref<'a, EventList>> for ClWaitListPtrEnum<'a>[src]
fn from(e: Ref<'a, EventList>) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<Ref<'a, ClWaitListPtr>> for ClWaitListPtrEnum<'a>[src]
fn from(e: Ref<'a, ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
Performs the conversion.
impl<'a> From<Box<ClWaitListPtr>> for ClWaitListPtrEnum<'a>[src]
fn from(e: Box<ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
Performs the conversion.