pub struct ExportMemoryAllocateInfoBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ExportMemoryAllocateInfoBuilder<'a>
impl<'a> ExportMemoryAllocateInfoBuilder<'a>
pub fn handle_types(self, handle_types: ExternalMemoryHandleTypeFlags) -> Self
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§
Source§impl<'a> Deref for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> Deref for ExportMemoryAllocateInfoBuilder<'a>
Source§impl<'a> DerefMut for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> DerefMut for ExportMemoryAllocateInfoBuilder<'a>
impl ExtendsMemoryAllocateInfo for ExportMemoryAllocateInfoBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ExportMemoryAllocateInfoBuilder<'a>
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§
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