Struct ash::vk::ImportSemaphoreWin32HandleInfoKHRBuilder
source · pub struct ImportSemaphoreWin32HandleInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn flags(self, flags: SemaphoreImportFlags) -> Self
pub fn handle_type(self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self
pub fn handle(self, handle: HANDLE) -> Self
pub fn name(self, name: LPCWSTR) -> Self
sourcepub fn build(self) -> ImportSemaphoreWin32HandleInfoKHR
pub fn build(self) -> ImportSemaphoreWin32HandleInfoKHR
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§
source§impl<'a> Deref for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> Deref for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> !Send for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> !Sync for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> Unpin for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
impl<'a> UnwindSafe for ImportSemaphoreWin32HandleInfoKHRBuilder<'a>
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