pub struct ExportMemoryAllocateInfoKhrBuilder<'b> { /* private fields */ }Expand description
A builder for VkExportMemoryAllocateInfoKHR.
Implementations§
Source§impl<'b> ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> ExportMemoryAllocateInfoKhrBuilder<'b>
pub fn new() -> ExportMemoryAllocateInfoKhrBuilder<'b>
pub unsafe fn next<'m>( self, next: *const c_void, ) -> ExportMemoryAllocateInfoKhrBuilder<'b>
pub fn handle_types<'m>( self, handle_types: ExternalMemoryHandleTypeFlagsKhr, ) -> ExportMemoryAllocateInfoKhrBuilder<'b>
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_handle_types<'a>(&'a self) -> ExternalMemoryHandleTypeFlagsKhr
pub fn build(self) -> ExportMemoryAllocateInfoKhr<'b>
Trait Implementations§
Source§impl<'b> Clone for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> Clone for ExportMemoryAllocateInfoKhrBuilder<'b>
Source§fn clone(&self) -> ExportMemoryAllocateInfoKhrBuilder<'b>
fn clone(&self) -> ExportMemoryAllocateInfoKhrBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'b> Debug for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> Debug for ExportMemoryAllocateInfoKhrBuilder<'b>
Source§impl<'b> Default for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> Default for ExportMemoryAllocateInfoKhrBuilder<'b>
Source§fn default() -> ExportMemoryAllocateInfoKhrBuilder<'b>
fn default() -> ExportMemoryAllocateInfoKhrBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> RefUnwindSafe for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> !Send for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> !Sync for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> Unpin for ExportMemoryAllocateInfoKhrBuilder<'b>
impl<'b> UnwindSafe for ExportMemoryAllocateInfoKhrBuilder<'b>
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