Enum asche::CommandBufferSemaphore[][src]

pub enum CommandBufferSemaphore<'a> {
    Binary {
        semaphore: &'a BinarySemaphore,
        stage: PipelineStageFlags2KHR,
    },
    Timeline {
        semaphore: &'a TimelineSemaphore,
        stage: PipelineStageFlags2KHR,
        value: u64,
    },
}

Defines the semaphore a command buffer will use on wait and signal.

Variants

Binary

A binary semaphore.

Fields of Binary

semaphore: &'a BinarySemaphore

Reference to the binary semaphore.

stage: PipelineStageFlags2KHR

The stage for this semaphore.

Timeline

A timeline semaphore.

Fields of Timeline

semaphore: &'a TimelineSemaphore

Reference to the timeline semaphore.

stage: PipelineStageFlags2KHR

The stage for this semaphore.

value: u64

The timeline value to wait / signal.

Trait Implementations

impl<'a> Debug for CommandBufferSemaphore<'a>[src]

Auto Trait Implementations

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> Instrument 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.