#[repr(transparent)]pub struct ExportMemoryAllocateInfoNVBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> ExportMemoryAllocateInfoNVBuilder<'a>
pub fn handle_types(
self,
handle_types: ExternalMemoryHandleTypeFlagsNV
) -> ExportMemoryAllocateInfoNVBuilder<'a>
sourcepub fn build(self) -> ExportMemoryAllocateInfoNV
pub fn build(self) -> ExportMemoryAllocateInfoNV
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 ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> Deref for ExportMemoryAllocateInfoNVBuilder<'a>
type Target = ExportMemoryAllocateInfoNV
type Target = ExportMemoryAllocateInfoNV
The resulting type after dereferencing.
sourcefn deref(&self) -> &<ExportMemoryAllocateInfoNVBuilder<'a> as Deref>::Target
fn deref(&self) -> &<ExportMemoryAllocateInfoNVBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> DerefMut for ExportMemoryAllocateInfoNVBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <ExportMemoryAllocateInfoNVBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <ExportMemoryAllocateInfoNVBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsMemoryAllocateInfo for ExportMemoryAllocateInfoNVBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> !Send for ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> !Sync for ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> Unpin for ExportMemoryAllocateInfoNVBuilder<'a>
impl<'a> UnwindSafe for ExportMemoryAllocateInfoNVBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more