pub struct SemaphoreGetFdInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> SemaphoreGetFdInfoKHRBuilder<'a>
pub fn semaphore(self, semaphore: Semaphore) -> Self
pub fn handle_type(self, handle_type: ExternalSemaphoreHandleTypeFlags) -> Self
Sourcepub fn build(self) -> SemaphoreGetFdInfoKHR
pub fn build(self) -> SemaphoreGetFdInfoKHR
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 SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> Deref for SemaphoreGetFdInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> !Send for SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> !Sync for SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> Unpin for SemaphoreGetFdInfoKHRBuilder<'a>
impl<'a> UnwindSafe for SemaphoreGetFdInfoKHRBuilder<'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