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