Struct ash::vk::ExportMetalBufferInfoEXTBuilder
source · pub struct ExportMetalBufferInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> ExportMetalBufferInfoEXTBuilder<'a>
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn mtl_buffer(self, mtl_buffer: MTLBuffer_id) -> Self
sourcepub fn build(self) -> ExportMetalBufferInfoEXT
pub fn build(self) -> ExportMetalBufferInfoEXT
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 ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> Deref for ExportMetalBufferInfoEXTBuilder<'a>
source§impl<'a> DerefMut for ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> DerefMut for ExportMetalBufferInfoEXTBuilder<'a>
impl ExtendsExportMetalObjectsInfoEXT for ExportMetalBufferInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> !Send for ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> !Sync for ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> Unpin for ExportMetalBufferInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ExportMetalBufferInfoEXTBuilder<'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