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
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>)
Methods
impl<'a> ClWaitListPtrEnum<'a>
[src]
pub fn into_marker(self, queue: &Queue) -> OclResult<Event>
[src]
Converts this ClWaitListPtrEnum
into a single marker event.
pub fn to_list(&self) -> EventList
[src]
Returns an EventList
containing owned copies of each element in
this ClWaitListPtrEnum
.
Trait Implementations
impl<'a> From<ClWaitListPtrEnum<'a>> for EventList
[src]
fn from(wlpe: ClWaitListPtrEnum<'a>) -> EventList
[src]
Returns an EventList
containing owned copies of each element in
this ClWaitListPtrEnum
.
impl<'a> Debug for ClWaitListPtrEnum<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> ClWaitListPtr for ClWaitListPtrEnum<'a>
[src]
unsafe fn as_ptr_ptr(&self) -> *const cl_event
[src]
Returns a pointer to the first pointer in this list.
fn count(&self) -> u32
[src]
Returns the number of items in this wait list.
impl<'a> From<EventCore> for ClWaitListPtrEnum<'a>
[src]
fn from(e: EventCore) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a EventCore> for ClWaitListPtrEnum<'a>
[src]
fn from(e: &'a EventCore) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a mut EventCore> for ClWaitListPtrEnum<'a>
[src]
fn from(e: &'a mut EventCore) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<Event> for ClWaitListPtrEnum<'a>
[src]
fn from(e: Event) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a Event> for ClWaitListPtrEnum<'a>
[src]
fn from(e: &'a Event) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a mut Event> for ClWaitListPtrEnum<'a>
[src]
fn from(e: &'a mut Event) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a EventList> for ClWaitListPtrEnum<'a>
[src]
fn from(el: &'a EventList) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a mut EventList> for ClWaitListPtrEnum<'a>
[src]
fn from(el: &'a mut EventList) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<&'a [Event]> for ClWaitListPtrEnum<'a>
[src]
impl<'a> From<&'a mut [Event]> for ClWaitListPtrEnum<'a>
[src]
impl<'a> From<&'a [cl_event]> for ClWaitListPtrEnum<'a>
[src]
impl<'a> From<&'a mut [cl_event]> for ClWaitListPtrEnum<'a>
[src]
impl<'a> From<()> for ClWaitListPtrEnum<'a>
[src]
fn from(_: ()) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<Ref<'a, EventList>> for ClWaitListPtrEnum<'a>
[src]
fn from(e: Ref<'a, EventList>) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<Ref<'a, ClWaitListPtr>> for ClWaitListPtrEnum<'a>
[src]
fn from(e: Ref<'a, ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a> From<Box<ClWaitListPtr>> for ClWaitListPtrEnum<'a>
[src]
fn from(e: Box<ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.
impl<'a, Ewl> From<Option<Ewl>> for ClWaitListPtrEnum<'a> where
Ewl: Into<ClWaitListPtrEnum<'a>>,
[src]
Ewl: Into<ClWaitListPtrEnum<'a>>,
fn from(e: Option<Ewl>) -> ClWaitListPtrEnum<'a>
[src]
Performs the conversion.