pub struct Vulkan10Properties {
    pub api_version: u32,
    pub driver_version: u32,
    pub vendor_id: u32,
    pub device_id: u32,
    pub device_type: PhysicalDeviceType,
    pub device_name: String,
    pub pipeline_cache_uuid: [u8; 16],
    pub limits: Vulkan10Limits,
}
Expand description

Description of Vulkan 1.0 properties.

See VkPhysicalDeviceProperties manual page.

Fields§

§api_version: u32

The version of Vulkan supported by the device, encoded as described here.

§driver_version: u32

The vendor-specified version of the driver.

§vendor_id: u32

A unique identifier for the vendor (see note) of the physical device.

§device_id: u32

A unique identifier for the physical device among devices available from the vendor.

§device_type: PhysicalDeviceType

a VkPhysicalDeviceType specifying the type of device.

§device_name: String

A UTF-8 string which is the name of the device.

§pipeline_cache_uuid: [u8; 16]

An array of VK_UUID_SIZE u8 values representing a universally unique identifier for the device.

§limits: Vulkan10Limits

The Vulkan10Limits structure specifying device-specific limits of the physical device. See Limits for details.

Trait Implementations§

source§

impl Debug for Vulkan10Properties

source§

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

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

impl From<PhysicalDeviceProperties> for Vulkan10Properties

source§

fn from(properties: PhysicalDeviceProperties) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.