Struct ash::vk::ImportSemaphoreFdInfoKHRBuilder
source · pub struct ImportSemaphoreFdInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> ImportSemaphoreFdInfoKHRBuilder<'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 fd(self, fd: c_int) -> Self
sourcepub fn build(self) -> ImportSemaphoreFdInfoKHR
pub fn build(self) -> ImportSemaphoreFdInfoKHR
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 ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> Deref for ImportSemaphoreFdInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> !Send for ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> !Sync for ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> Unpin for ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> UnwindSafe for ImportSemaphoreFdInfoKHRBuilder<'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