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> Freeze for ExportMetalBufferInfoEXTBuilder<'a>
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