Struct vulkano::sync::semaphore::ImportSemaphoreWin32HandleInfo
source · pub struct ImportSemaphoreWin32HandleInfo {
pub flags: SemaphoreImportFlags,
pub handle_type: ExternalSemaphoreHandleType,
pub handle: *mut c_void,
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.
handle: *mut c_void
The handle to import the semaphore from.
The default value is null
, which must be overridden.
_ne: NonExhaustive
Implementations§
source§impl ImportSemaphoreWin32HandleInfo
impl ImportSemaphoreWin32HandleInfo
sourcepub fn handle_type(handle_type: ExternalSemaphoreHandleType) -> Self
pub fn handle_type(handle_type: ExternalSemaphoreHandleType) -> Self
Returns an ImportSemaphoreWin32HandleInfo
with the specified handle_type
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ImportSemaphoreWin32HandleInfo
impl !Send for ImportSemaphoreWin32HandleInfo
impl !Sync for ImportSemaphoreWin32HandleInfo
impl Unpin for ImportSemaphoreWin32HandleInfo
impl UnwindSafe for ImportSemaphoreWin32HandleInfo
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