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