pub struct SemaphoreSubmitInfo {
    pub semaphore: Arc<Semaphore>,
    pub stages: PipelineStages,
    pub _ne: NonExhaustive,
}
Expand description

Parameters for a semaphore signal or wait operation in a command buffer submission.

Fields

semaphore: Arc<Semaphore>

The semaphore to signal or wait for.

stages: PipelineStages

For a semaphore wait operation, specifies the pipeline stages in the second synchronization scope: stages of queue operations following the wait operation that can start executing after the semaphore is signalled.

For a semaphore signal operation, specifies the pipeline stages in the first synchronization scope: stages of queue operations preceding the signal operation that must complete before the semaphore is signalled. If not set to all_commands only, the synchronization2 feature must be enabled on the device.

The default value has only all_commands set.

_ne: NonExhaustive

Implementations

Returns a SemaphoreSubmitInfo with the specified semaphore.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.