Struct screen_13::prelude::vk::ImportMetalTextureInfoEXTBuilder
source · pub struct ImportMetalTextureInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> ImportMetalTextureInfoEXTBuilder<'a>
pub fn plane( self, plane: ImageAspectFlags ) -> ImportMetalTextureInfoEXTBuilder<'a>
pub fn mtl_texture( self, mtl_texture: *mut c_void ) -> ImportMetalTextureInfoEXTBuilder<'a>
sourcepub fn build(self) -> ImportMetalTextureInfoEXT
pub fn build(self) -> ImportMetalTextureInfoEXT
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 ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> Deref for ImportMetalTextureInfoEXTBuilder<'a>
§type Target = ImportMetalTextureInfoEXT
type Target = ImportMetalTextureInfoEXT
The resulting type after dereferencing.
source§impl<'a> DerefMut for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> DerefMut for ImportMetalTextureInfoEXTBuilder<'a>
impl ExtendsImageCreateInfo for ImportMetalTextureInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> !Send for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> !Sync for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> Unpin for ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ImportMetalTextureInfoEXTBuilder<'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