#[repr(transparent)]pub struct ExportMemoryAllocateInfoBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> ExportMemoryAllocateInfoBuilder<'a>
impl<'a> ExportMemoryAllocateInfoBuilder<'a>
pub fn handle_types(
self,
handle_types: ExternalMemoryHandleTypeFlags
) -> ExportMemoryAllocateInfoBuilder<'a>
sourcepub fn build(self) -> ExportMemoryAllocateInfo
pub fn build(self) -> ExportMemoryAllocateInfo
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 ExportMemoryAllocateInfoBuilder<'a>
impl<'a> Deref for ExportMemoryAllocateInfoBuilder<'a>
type Target = ExportMemoryAllocateInfo
type Target = ExportMemoryAllocateInfo
The resulting type after dereferencing.
sourcefn deref(&self) -> &<ExportMemoryAllocateInfoBuilder<'a> as Deref>::Target
fn deref(&self) -> &<ExportMemoryAllocateInfoBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> DerefMut for ExportMemoryAllocateInfoBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <ExportMemoryAllocateInfoBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <ExportMemoryAllocateInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsMemoryAllocateInfo for ExportMemoryAllocateInfoBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> !Send for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> !Sync for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> Unpin for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> UnwindSafe for ExportMemoryAllocateInfoBuilder<'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