Struct ash::vk::ImportMetalBufferInfoEXTBuilder
source · 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