Struct screen_13::prelude::vk::ExportMetalTextureInfoEXTBuilder
source · pub struct ExportMetalTextureInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ExportMetalTextureInfoEXTBuilder<'a>
impl<'a> ExportMetalTextureInfoEXTBuilder<'a>
pub fn image(self, image: Image) -> ExportMetalTextureInfoEXTBuilder<'a>
pub fn image_view( self, image_view: ImageView, ) -> ExportMetalTextureInfoEXTBuilder<'a>
pub fn buffer_view( self, buffer_view: BufferView, ) -> ExportMetalTextureInfoEXTBuilder<'a>
pub fn plane( self, plane: ImageAspectFlags, ) -> ExportMetalTextureInfoEXTBuilder<'a>
pub fn mtl_texture( self, mtl_texture: *mut c_void, ) -> ExportMetalTextureInfoEXTBuilder<'a>
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>
§type Target = ExportMetalTextureInfoEXT
type Target = ExportMetalTextureInfoEXT
The resulting type after dereferencing.
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