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