pub struct ImportMetalBufferInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> ImportMetalBufferInfoEXTBuilder<'a>
pub fn mtl_buffer(self, mtl_buffer: MTLBuffer_id) -> Self
Sourcepub fn build(self) -> ImportMetalBufferInfoEXT
pub fn build(self) -> ImportMetalBufferInfoEXT
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 ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> Deref for ImportMetalBufferInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> DerefMut for ImportMetalBufferInfoEXTBuilder<'a>
impl ExtendsMemoryAllocateInfo for ImportMetalBufferInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> !Send for ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> !Sync for ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> Unpin for ImportMetalBufferInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ImportMetalBufferInfoEXTBuilder<'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