Struct vulkano::sync::ExternalSemaphoreInfo
source · pub struct ExternalSemaphoreInfo {
pub handle_type: ExternalSemaphoreHandleType,
pub _ne: NonExhaustive,
}
Expand description
The semaphore configuration to query in
PhysicalDevice::external_semaphore_properties
.
Fields§
§handle_type: ExternalSemaphoreHandleType
The external handle type that will be used with the semaphore.
_ne: NonExhaustive
Implementations§
source§impl ExternalSemaphoreInfo
impl ExternalSemaphoreInfo
sourcepub fn handle_type(handle_type: ExternalSemaphoreHandleType) -> Self
pub fn handle_type(handle_type: ExternalSemaphoreHandleType) -> Self
Returns an ExternalSemaphoreInfo
with the specified handle_type
.
Trait Implementations§
source§impl Clone for ExternalSemaphoreInfo
impl Clone for ExternalSemaphoreInfo
source§fn clone(&self) -> ExternalSemaphoreInfo
fn clone(&self) -> ExternalSemaphoreInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more