pub struct ExportMetalTextureInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> ExportMetalTextureInfoEXTBuilder<'a>
pub fn image(self, image: Image) -> Self
pub fn image_view(self, image_view: ImageView) -> Self
pub fn buffer_view(self, buffer_view: BufferView) -> Self
pub fn plane(self, plane: ImageAspectFlags) -> Self
pub fn mtl_texture(self, mtl_texture: MTLTexture_id) -> Self
Sourcepub fn build(self) -> ExportMetalTextureInfoEXT
pub fn build(self) -> ExportMetalTextureInfoEXT
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 ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> Deref for ExportMetalTextureInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> DerefMut for ExportMetalTextureInfoEXTBuilder<'a>
impl ExtendsExportMetalObjectsInfoEXT for ExportMetalTextureInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> !Send for ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> !Sync for ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> Unpin for ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ExportMetalTextureInfoEXTBuilder<'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