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