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