Struct ash::vk::ImportSemaphoreFdInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct ImportSemaphoreFdInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ImportSemaphoreFdInfoKHRBuilder<'a>
impl<'a> Deref for ImportSemaphoreFdInfoKHRBuilder<'a>
type Target = ImportSemaphoreFdInfoKHR
type Target = ImportSemaphoreFdInfoKHR
The resulting type after dereferencing.
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
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