pub struct ImportMemoryFdInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> ImportMemoryFdInfoKHRBuilder<'a>
pub fn handle_type(self, handle_type: ExternalMemoryHandleTypeFlags) -> Self
pub fn fd(self, fd: c_int) -> Self
Sourcepub fn build(self) -> ImportMemoryFdInfoKHR
pub fn build(self) -> ImportMemoryFdInfoKHR
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 ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> Deref for ImportMemoryFdInfoKHRBuilder<'a>
Source§impl<'a> DerefMut for ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> DerefMut for ImportMemoryFdInfoKHRBuilder<'a>
impl ExtendsMemoryAllocateInfo for ImportMemoryFdInfoKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> !Send for ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> !Sync for ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> Unpin for ImportMemoryFdInfoKHRBuilder<'a>
impl<'a> UnwindSafe for ImportMemoryFdInfoKHRBuilder<'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