ash::vk

Type Alias PhysicalDeviceDriverPropertiesKHR

Source
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>

Source

pub fn driver_id(self, driver_id: DriverId) -> Self

Source

pub fn driver_name( self, driver_name: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>

Source

pub fn driver_name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>

Source

pub fn driver_info( self, driver_info: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>

Source

pub fn driver_info_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>

Source

pub fn conformance_version( self, conformance_version: ConformanceVersion, ) -> Self

Trait Implementations

Source§

impl<'a> Clone for PhysicalDeviceDriverProperties<'a>

Source§

fn clone(&self) -> PhysicalDeviceDriverProperties<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PhysicalDeviceDriverProperties<'_>

Source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PhysicalDeviceDriverProperties<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for PhysicalDeviceDriverProperties<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_DRIVER_PROPERTIES

Source§

impl<'a> Copy for PhysicalDeviceDriverProperties<'a>

Source§

impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceDriverProperties<'_>

Source§

impl Send for PhysicalDeviceDriverProperties<'_>

Source§

impl Sync for PhysicalDeviceDriverProperties<'_>