Struct ash::vk::ImportMemoryHostPointerInfoEXTBuilder
source · [−]#[repr(transparent)]pub struct ImportMemoryHostPointerInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ImportMemoryHostPointerInfoEXTBuilder<'a>
impl<'a> Deref for ImportMemoryHostPointerInfoEXTBuilder<'a>
type Target = ImportMemoryHostPointerInfoEXT
type Target = ImportMemoryHostPointerInfoEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for ImportMemoryHostPointerInfoEXTBuilder<'a>
impl<'a> DerefMut for ImportMemoryHostPointerInfoEXTBuilder<'a>
impl ExtendsMemoryAllocateInfo for ImportMemoryHostPointerInfoEXTBuilder<'_>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more