[src] Struct arrayfire::Event

pub struct Event { /* fields omitted */ }

RAII construct to manage ArrayFire events

Sharing Across Threads

While sharing an Event with other threads, just move it across threads.

Implementations

impl Event [src]

pub fn mark(&self)[src]

Marks the event on the active computation queue.

If the event is enqueued/waited on later, any operations that are currently enqueued on the event queue will be completed before any events that are enqueued after the call to enqueue

pub fn enqueue_wait(&self)[src]

Enqueues the event and all enqueued events on the active queue

All operations enqueued after a call to enqueue will not be executed until operations on the queue when mark was called are complete

pub fn block(&self)[src]

Blocks the calling thread on events until all events on the computation stream before mark was called are complete

Trait Implementations

impl Default for Event [src]

fn default() -> Self[src]

Returns the "default value" for a type. Read more

impl Drop for Event [src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

impl Send for Event [src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl !Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
T: 'static + ?Sized,
[src]

pub fn type_id(&self) -> TypeId [src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
T: ?Sized,
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
U: From<T>,
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

AltStyle によって変換されたページ (->オリジナル) /