Enum ocl::builders::ClWaitListPtrEnum
source · pub enum ClWaitListPtrEnum<'a> {
Null,
RawEventArray(&'a RawEventArray),
EventCoreOwned(Event),
EventOwned(Event),
EventCore(&'a Event),
Event(&'a Event),
EventList(&'a EventList),
EventSlice(&'a [Event]),
EventPtrSlice(&'a [cl_event]),
RefEventList(Ref<'a, EventList>),
RefTraitObj(Ref<'a, dyn ClWaitListPtr>),
BoxTraitObj(Box<dyn ClWaitListPtr>),
}
Expand description
An enum which can represent several different ways of representing a event wait list.
Variants§
Null
RawEventArray(&'a RawEventArray)
EventCoreOwned(Event)
EventOwned(Event)
EventCore(&'a Event)
Event(&'a Event)
EventList(&'a EventList)
EventSlice(&'a [Event])
EventPtrSlice(&'a [cl_event])
RefEventList(Ref<'a, EventList>)
RefTraitObj(Ref<'a, dyn ClWaitListPtr>)
BoxTraitObj(Box<dyn ClWaitListPtr>)
Implementations§
Trait Implementations§
source§impl<'a> ClWaitListPtr for ClWaitListPtrEnum<'a>
impl<'a> ClWaitListPtr for ClWaitListPtrEnum<'a>
source§impl<'a> Debug for ClWaitListPtrEnum<'a>
impl<'a> Debug for ClWaitListPtrEnum<'a>
source§impl<'a> From<&'a [*mut c_void]> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a [*mut c_void]> for ClWaitListPtrEnum<'a>
source§fn from(el: &'a [cl_event]) -> ClWaitListPtrEnum<'a>
fn from(el: &'a [cl_event]) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a [Event]> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a [Event]> for ClWaitListPtrEnum<'a>
source§fn from(es: &'a [Event]) -> ClWaitListPtrEnum<'a>
fn from(es: &'a [Event]) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a Event> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a Event> for ClWaitListPtrEnum<'a>
source§fn from(e: &'a EventCore) -> ClWaitListPtrEnum<'a>
fn from(e: &'a EventCore) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a Event> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a Event> for ClWaitListPtrEnum<'a>
source§fn from(e: &'a Event) -> ClWaitListPtrEnum<'a>
fn from(e: &'a Event) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a EventList> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a EventList> for ClWaitListPtrEnum<'a>
source§fn from(el: &'a EventList) -> ClWaitListPtrEnum<'a>
fn from(el: &'a EventList) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a mut [*mut c_void]> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a mut [*mut c_void]> for ClWaitListPtrEnum<'a>
source§fn from(el: &'a mut [cl_event]) -> ClWaitListPtrEnum<'a>
fn from(el: &'a mut [cl_event]) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a mut [Event]> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a mut [Event]> for ClWaitListPtrEnum<'a>
source§fn from(es: &'a mut [Event]) -> ClWaitListPtrEnum<'a>
fn from(es: &'a mut [Event]) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a mut Event> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a mut Event> for ClWaitListPtrEnum<'a>
source§fn from(e: &'a mut Event) -> ClWaitListPtrEnum<'a>
fn from(e: &'a mut Event) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a mut Event> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a mut Event> for ClWaitListPtrEnum<'a>
source§fn from(e: &'a mut EventCore) -> ClWaitListPtrEnum<'a>
fn from(e: &'a mut EventCore) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a mut EventList> for ClWaitListPtrEnum<'a>
impl<'a> From<&'a mut EventList> for ClWaitListPtrEnum<'a>
source§fn from(el: &'a mut EventList) -> ClWaitListPtrEnum<'a>
fn from(el: &'a mut EventList) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<()> for ClWaitListPtrEnum<'a>
impl<'a> From<()> for ClWaitListPtrEnum<'a>
source§fn from(_: ()) -> ClWaitListPtrEnum<'a>
fn from(_: ()) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<Box<dyn ClWaitListPtr>> for ClWaitListPtrEnum<'a>
impl<'a> From<Box<dyn ClWaitListPtr>> for ClWaitListPtrEnum<'a>
source§fn from(e: Box<dyn ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
fn from(e: Box<dyn ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<ClWaitListPtrEnum<'a>> for EventList
impl<'a> From<ClWaitListPtrEnum<'a>> for EventList
source§fn from(wlpe: ClWaitListPtrEnum<'a>) -> EventList
fn from(wlpe: ClWaitListPtrEnum<'a>) -> EventList
Returns an EventList
containing owned copies of each element in
this ClWaitListPtrEnum
.
source§impl<'a> From<Event> for ClWaitListPtrEnum<'a>
impl<'a> From<Event> for ClWaitListPtrEnum<'a>
source§fn from(e: EventCore) -> ClWaitListPtrEnum<'a>
fn from(e: EventCore) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<Event> for ClWaitListPtrEnum<'a>
impl<'a> From<Event> for ClWaitListPtrEnum<'a>
source§fn from(e: Event) -> ClWaitListPtrEnum<'a>
fn from(e: Event) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a, Ewl> From<Option<Ewl>> for ClWaitListPtrEnum<'a>where
Ewl: Into<ClWaitListPtrEnum<'a>>,
impl<'a, Ewl> From<Option<Ewl>> for ClWaitListPtrEnum<'a>where
Ewl: Into<ClWaitListPtrEnum<'a>>,
source§fn from(e: Option<Ewl>) -> ClWaitListPtrEnum<'a>
fn from(e: Option<Ewl>) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
source§impl<'a> From<Ref<'a, dyn ClWaitListPtr>> for ClWaitListPtrEnum<'a>
impl<'a> From<Ref<'a, dyn ClWaitListPtr>> for ClWaitListPtrEnum<'a>
source§fn from(e: Ref<'a, dyn ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
fn from(e: Ref<'a, dyn ClWaitListPtr>) -> ClWaitListPtrEnum<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for ClWaitListPtrEnum<'a>
impl<'a> !RefUnwindSafe for ClWaitListPtrEnum<'a>
impl<'a> !Send for ClWaitListPtrEnum<'a>
impl<'a> !Sync for ClWaitListPtrEnum<'a>
impl<'a> Unpin for ClWaitListPtrEnum<'a>
impl<'a> !UnwindSafe for ClWaitListPtrEnum<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more