[][src]Enum bedrock::CompletionHandler

pub enum CompletionHandler<'s> {
    Host(&'s Fence),
    Queue(&'s Semaphore),
}

A semaphore or a fence

Variants

Host(&'s Fence)

A Host synchronizer(aka Fence)

Queue(&'s Semaphore)

A Queue synchronizer(aka Semaphore)

Trait Implementations

impl<'s> From<&'s Fence> for CompletionHandler<'s>[src]

impl<'s> From<&'s Semaphore> for CompletionHandler<'s>[src]

Auto Trait Implementations

impl<'s> !RefUnwindSafe for CompletionHandler<'s>

impl<'s> !Send for CompletionHandler<'s>

impl<'s> !Sync for CompletionHandler<'s>

impl<'s> Unpin for CompletionHandler<'s>

impl<'s> !UnwindSafe for CompletionHandler<'s>

Blanket Implementations

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

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

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

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

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

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.

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.