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: ExternalMemoryHandleTypeFlags) -> Self
Sourcepub fn push_next<T: ExtendsExportMemoryAllocateInfo>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsExportMemoryAllocateInfo>( self, next: &'a mut T, ) -> Self
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>
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