Struct ash::vk::PhysicalDeviceDriverProperties
source · #[repr(C)]pub struct PhysicalDeviceDriverProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub driver_id: DriverId,
pub driver_name: [c_char; 256],
pub driver_info: [c_char; 256],
pub conformance_version: ConformanceVersion,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§driver_id: DriverId
§driver_name: [c_char; 256]
§driver_info: [c_char; 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 moresource§impl Debug for PhysicalDeviceDriverProperties<'_>
impl Debug for PhysicalDeviceDriverProperties<'_>
source§impl Default for PhysicalDeviceDriverProperties<'_>
impl Default for PhysicalDeviceDriverProperties<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceDriverProperties<'a>
impl<'a> TaggedStructure for PhysicalDeviceDriverProperties<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_DRIVER_PROPERTIES
impl<'a> Copy for PhysicalDeviceDriverProperties<'a>
impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDriverProperties<'_>
impl Send for PhysicalDeviceDriverProperties<'_>
impl Sync for PhysicalDeviceDriverProperties<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceDriverProperties<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceDriverProperties<'a>
impl<'a> Unpin for PhysicalDeviceDriverProperties<'a>
impl<'a> UnwindSafe for PhysicalDeviceDriverProperties<'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