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