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