Struct ash::vk::ImportMemoryFdInfoKHRBuilder
source · 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