Struct ash::vk::definitions::ExportMetalTextureInfoEXT
source · #[repr(C)]pub struct ExportMetalTextureInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub image: Image,
pub image_view: ImageView,
pub buffer_view: BufferView,
pub plane: ImageAspectFlags,
pub mtl_texture: MTLTexture_id,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§image: Image
§image_view: ImageView
§buffer_view: BufferView
§plane: ImageAspectFlags
§mtl_texture: MTLTexture_id
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ExportMetalTextureInfoEXT<'a>
impl<'a> ExportMetalTextureInfoEXT<'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
Trait Implementations§
source§impl<'a> Clone for ExportMetalTextureInfoEXT<'a>
impl<'a> Clone for ExportMetalTextureInfoEXT<'a>
source§fn clone(&self) -> ExportMetalTextureInfoEXT<'a>
fn clone(&self) -> ExportMetalTextureInfoEXT<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ExportMetalTextureInfoEXT<'a>
impl<'a> Debug for ExportMetalTextureInfoEXT<'a>
source§impl Default for ExportMetalTextureInfoEXT<'_>
impl Default for ExportMetalTextureInfoEXT<'_>
source§impl<'a> TaggedStructure for ExportMetalTextureInfoEXT<'a>
impl<'a> TaggedStructure for ExportMetalTextureInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::EXPORT_METAL_TEXTURE_INFO_EXT
impl<'a> Copy for ExportMetalTextureInfoEXT<'a>
impl ExtendsExportMetalObjectsInfoEXT for ExportMetalTextureInfoEXT<'_>
impl Send for ExportMetalTextureInfoEXT<'_>
impl Sync for ExportMetalTextureInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for ExportMetalTextureInfoEXT<'a>
impl<'a> RefUnwindSafe for ExportMetalTextureInfoEXT<'a>
impl<'a> Unpin for ExportMetalTextureInfoEXT<'a>
impl<'a> UnwindSafe for ExportMetalTextureInfoEXT<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)