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