pub struct ImportMetalTextureInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImportMetalTextureInfoEXTBuilder<'a>
impl<'a> ImportMetalTextureInfoEXTBuilder<'a>
pub fn plane(self, plane: ImageAspectFlags) -> Self
pub fn mtl_texture(self, mtl_texture: MTLTexture_id) -> Self
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>
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