pub type PhysicalDeviceDriverPropertiesKHR<'a> = PhysicalDeviceDriverProperties<'a>;
Aliased Type§
struct PhysicalDeviceDriverPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub driver_id: DriverId,
pub driver_name: [i8; 256],
pub driver_info: [i8; 256],
pub conformance_version: ConformanceVersion,
pub _marker: PhantomData<&'a ()>,
}
Fields§
§s_type: StructureType
§p_next: *mut c_void
§driver_id: DriverId
§driver_name: [i8; 256]
§driver_info: [i8; 256]
§conformance_version: ConformanceVersion
§_marker: PhantomData<&'a ()>
Implementations
Source§impl<'a> PhysicalDeviceDriverProperties<'a>
impl<'a> PhysicalDeviceDriverProperties<'a>
pub fn driver_id(self, driver_id: DriverId) -> Self
pub fn driver_name( self, driver_name: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn driver_name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn driver_info( self, driver_info: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn driver_info_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn conformance_version( self, conformance_version: ConformanceVersion, ) -> Self
Trait Implementations
Source§impl<'a> Clone for PhysicalDeviceDriverProperties<'a>
impl<'a> Clone for PhysicalDeviceDriverProperties<'a>
Source§fn clone(&self) -> PhysicalDeviceDriverProperties<'a>
fn clone(&self) -> PhysicalDeviceDriverProperties<'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 more