Struct vulkano::sync::semaphore::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.
There is no default value.
_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 moresource§impl Debug for ExternalSemaphoreInfo
impl Debug for ExternalSemaphoreInfo
source§impl Hash for ExternalSemaphoreInfo
impl Hash for ExternalSemaphoreInfo
source§impl PartialEq for ExternalSemaphoreInfo
impl PartialEq for ExternalSemaphoreInfo
source§fn eq(&self, other: &ExternalSemaphoreInfo) -> bool
fn eq(&self, other: &ExternalSemaphoreInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExternalSemaphoreInfo
impl StructuralEq for ExternalSemaphoreInfo
impl StructuralPartialEq for ExternalSemaphoreInfo
Auto Trait Implementations§
impl RefUnwindSafe for ExternalSemaphoreInfo
impl Send for ExternalSemaphoreInfo
impl Sync for ExternalSemaphoreInfo
impl Unpin for ExternalSemaphoreInfo
impl UnwindSafe for ExternalSemaphoreInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more