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