Struct ash::vk::ImportFenceWin32HandleInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct ImportFenceWin32HandleInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ImportFenceWin32HandleInfoKHRBuilder<'a>
impl<'a> ImportFenceWin32HandleInfoKHRBuilder<'a>
pub fn fence(self, fence: Fence) -> Self
pub fn flags(self, flags: FenceImportFlags) -> Self
pub fn handle_type(self, handle_type: ExternalFenceHandleTypeFlags) -> Self
pub fn handle(self, handle: HANDLE) -> Self
pub fn name(self, name: LPCWSTR) -> Self
sourcepub fn build(self) -> ImportFenceWin32HandleInfoKHR
pub fn build(self) -> ImportFenceWin32HandleInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for ImportFenceWin32HandleInfoKHRBuilder<'a>
impl<'a> Deref for ImportFenceWin32HandleInfoKHRBuilder<'a>
type Target = ImportFenceWin32HandleInfoKHR
type Target = ImportFenceWin32HandleInfoKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImportFenceWin32HandleInfoKHRBuilder<'a>
impl<'a> !Send for ImportFenceWin32HandleInfoKHRBuilder<'a>
impl<'a> !Sync for ImportFenceWin32HandleInfoKHRBuilder<'a>
impl<'a> Unpin for ImportFenceWin32HandleInfoKHRBuilder<'a>
impl<'a> UnwindSafe for ImportFenceWin32HandleInfoKHRBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more