Struct ash::vk::ImportMetalTextureInfoEXT
source · #[repr(C)]pub struct ImportMetalTextureInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub plane: ImageAspectFlags,
pub mtl_texture: MTLTexture_id,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§plane: ImageAspectFlags
§mtl_texture: MTLTexture_id
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ImportMetalTextureInfoEXT<'a>
impl<'a> ImportMetalTextureInfoEXT<'a>
pub fn plane(self, plane: ImageAspectFlags) -> Self
pub fn mtl_texture(self, mtl_texture: MTLTexture_id) -> Self
Trait Implementations§
source§impl<'a> Clone for ImportMetalTextureInfoEXT<'a>
impl<'a> Clone for ImportMetalTextureInfoEXT<'a>
source§fn clone(&self) -> ImportMetalTextureInfoEXT<'a>
fn clone(&self) -> ImportMetalTextureInfoEXT<'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 ImportMetalTextureInfoEXT<'a>
impl<'a> Debug for ImportMetalTextureInfoEXT<'a>
source§impl Default for ImportMetalTextureInfoEXT<'_>
impl Default for ImportMetalTextureInfoEXT<'_>
source§impl<'a> TaggedStructure for ImportMetalTextureInfoEXT<'a>
impl<'a> TaggedStructure for ImportMetalTextureInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::IMPORT_METAL_TEXTURE_INFO_EXT
impl<'a> Copy for ImportMetalTextureInfoEXT<'a>
impl ExtendsImageCreateInfo for ImportMetalTextureInfoEXT<'_>
impl Send for ImportMetalTextureInfoEXT<'_>
impl Sync for ImportMetalTextureInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for ImportMetalTextureInfoEXT<'a>
impl<'a> RefUnwindSafe for ImportMetalTextureInfoEXT<'a>
impl<'a> Unpin for ImportMetalTextureInfoEXT<'a>
impl<'a> UnwindSafe for ImportMetalTextureInfoEXT<'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