Struct ash::vk::definitions::PhysicalDeviceProperties
source · #[repr(C)]pub struct PhysicalDeviceProperties {
pub api_version: u32,
pub driver_version: u32,
pub vendor_id: u32,
pub device_id: u32,
pub device_type: PhysicalDeviceType,
pub device_name: [c_char; 256],
pub pipeline_cache_uuid: [u8; 16],
pub limits: PhysicalDeviceLimits,
pub sparse_properties: PhysicalDeviceSparseProperties,
}
Expand description
Fields§
§api_version: u32
§driver_version: u32
§vendor_id: u32
§device_id: u32
§device_type: PhysicalDeviceType
§device_name: [c_char; 256]
§pipeline_cache_uuid: [u8; 16]
§limits: PhysicalDeviceLimits
§sparse_properties: PhysicalDeviceSparseProperties
Implementations§
source§impl PhysicalDeviceProperties
impl PhysicalDeviceProperties
pub fn api_version(self, api_version: u32) -> Self
pub fn driver_version(self, driver_version: u32) -> Self
pub fn vendor_id(self, vendor_id: u32) -> Self
pub fn device_id(self, device_id: u32) -> Self
pub fn device_type(self, device_type: PhysicalDeviceType) -> Self
pub fn device_name( self, device_name: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn device_name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn pipeline_cache_uuid(self, pipeline_cache_uuid: [u8; 16]) -> Self
pub fn limits(self, limits: PhysicalDeviceLimits) -> Self
pub fn sparse_properties( self, sparse_properties: PhysicalDeviceSparseProperties, ) -> Self
Trait Implementations§
source§impl Clone for PhysicalDeviceProperties
impl Clone for PhysicalDeviceProperties
source§fn clone(&self) -> PhysicalDeviceProperties
fn clone(&self) -> PhysicalDeviceProperties
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 PhysicalDeviceProperties
impl Debug for PhysicalDeviceProperties
source§impl Default for PhysicalDeviceProperties
impl Default for PhysicalDeviceProperties
impl Copy for PhysicalDeviceProperties
Auto Trait Implementations§
impl Freeze for PhysicalDeviceProperties
impl RefUnwindSafe for PhysicalDeviceProperties
impl Send for PhysicalDeviceProperties
impl Sync for PhysicalDeviceProperties
impl Unpin for PhysicalDeviceProperties
impl UnwindSafe for PhysicalDeviceProperties
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