Struct screen_13::driver::physical_device::Vulkan10Properties
source · 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
impl Debug for Vulkan10Properties
source§impl From<PhysicalDeviceProperties> for Vulkan10Properties
impl From<PhysicalDeviceProperties> for Vulkan10Properties
source§fn from(properties: PhysicalDeviceProperties) -> Self
fn from(properties: PhysicalDeviceProperties) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Vulkan10Properties
impl Send for Vulkan10Properties
impl Sync for Vulkan10Properties
impl Unpin for Vulkan10Properties
impl UnwindSafe for Vulkan10Properties
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.