Struct vulkano::sync::semaphore::ImportSemaphoreZirconHandleInfo
source · pub struct ImportSemaphoreZirconHandleInfo {
pub flags: SemaphoreImportFlags,
pub handle_type: ExternalSemaphoreHandleType,
pub zircon_handle: zx_handle_t,
pub _ne: NonExhaustive,
}
Fields§
§flags: SemaphoreImportFlags
Additional parameters for the import operation.
If handle_type
has copy transference, this must include the temporary
flag.
The default value is SemaphoreImportFlags::empty()
.
handle_type: ExternalSemaphoreHandleType
The handle type of handle
.
There is no default value.
zircon_handle: zx_handle_t
The handle to import the semaphore from.
The default value is ZX_HANDLE_INVALID
, which must be overridden.
_ne: NonExhaustive
Implementations§
source§impl ImportSemaphoreZirconHandleInfo
impl ImportSemaphoreZirconHandleInfo
sourcepub fn handle_type(handle_type: ExternalSemaphoreHandleType) -> Self
pub fn handle_type(handle_type: ExternalSemaphoreHandleType) -> Self
Returns an ImportSemaphoreZirconHandleInfo
with the specified handle_type
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ImportSemaphoreZirconHandleInfo
impl Send for ImportSemaphoreZirconHandleInfo
impl Sync for ImportSemaphoreZirconHandleInfo
impl Unpin for ImportSemaphoreZirconHandleInfo
impl UnwindSafe for ImportSemaphoreZirconHandleInfo
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