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