pub struct ExportMemoryAllocateInfoBuilder<'a> { /* private fields */ }Expand description
Builder for ExportMemoryAllocateInfo with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> ExportMemoryAllocateInfoBuilder<'a>
impl<'a> ExportMemoryAllocateInfoBuilder<'a>
pub fn handle_types( self, value: ExternalMemoryHandleTypeFlagBits, ) -> ExportMemoryAllocateInfoBuilder<'a>
Sourcepub fn push_next<T>(
self,
next: &'a mut T,
) -> ExportMemoryAllocateInfoBuilder<'a>where
T: ExtendsExportMemoryAllocateInfo,
pub fn push_next<T>(
self,
next: &'a mut T,
) -> ExportMemoryAllocateInfoBuilder<'a>where
T: ExtendsExportMemoryAllocateInfo,
Prepend a struct to the pNext chain. See ExportMemoryAllocateInfo’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> Deref for ExportMemoryAllocateInfoBuilder<'a>
Source§type Target = ExportMemoryAllocateInfo
type Target = ExportMemoryAllocateInfo
The resulting type after dereferencing.
Source§impl<'a> DerefMut for ExportMemoryAllocateInfoBuilder<'a>
impl<'a> DerefMut for ExportMemoryAllocateInfoBuilder<'a>
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> UnsafeUnpin 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