pub struct PhysicalDeviceProperties { /* private fields */ }Expand description
A VkPhysicalDeviceProperties.
Implementations§
Source§impl PhysicalDeviceProperties
impl PhysicalDeviceProperties
pub fn builder() -> PhysicalDevicePropertiesBuilder
pub unsafe fn from_raw( raw: VkPhysicalDeviceProperties, ) -> PhysicalDeviceProperties
pub fn api_version<'a>(&'a self) -> Version
pub fn driver_version<'a>(&'a self) -> Version
pub fn vendor_id<'a>(&'a self) -> u32
pub fn device_id<'a>(&'a self) -> u32
pub fn device_type<'a>(&'a self) -> PhysicalDeviceType
pub fn device_name<'a>(&'a self) -> &'a CStr
pub fn pipeline_cache_uuid<'a>(&'a self) -> &[u8] ⓘ
pub fn limits<'a>(&'a self) -> &'a PhysicalDeviceLimits
pub fn limits_mut<'a>(&'a mut self) -> &'a mut PhysicalDeviceLimits
pub fn sparse_properties<'a>(&'a self) -> &'a PhysicalDeviceSparseProperties
pub fn sparse_properties_mut<'a>( &'a mut self, ) -> &'a mut PhysicalDeviceSparseProperties
pub fn set_api_version<'m, T>(&mut self, api_version: T)
pub fn set_driver_version<'m, T>(&mut self, driver_version: T)
pub fn set_vendor_id<'m>(&mut self, vendor_id: u32)
pub fn set_device_id<'m>(&mut self, device_id: u32)
pub fn set_device_type<'m>(&mut self, device_type: PhysicalDeviceType)
pub unsafe fn set_device_name<'m>(&mut self, device_name: [i8; 256])
pub fn set_pipeline_cache_uuid<'m>(&mut self, pipeline_cache_uuid: [u8; 16])
pub fn set_limits<'m>(&mut self, limits: PhysicalDeviceLimits)
pub fn set_sparse_properties<'m>( &mut self, sparse_properties: PhysicalDeviceSparseProperties, )
pub fn as_raw(&self) -> &VkPhysicalDeviceProperties
Trait Implementations§
Source§impl Clone for PhysicalDeviceProperties
impl Clone for PhysicalDeviceProperties
Source§fn clone(&self) -> PhysicalDeviceProperties
fn clone(&self) -> PhysicalDeviceProperties
Returns a duplicate 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
Source§fn default() -> PhysicalDeviceProperties
fn default() -> PhysicalDeviceProperties
Returns the “default value” for a type. Read more
Source§impl From<PhysicalDeviceProperties> for VkPhysicalDeviceProperties
impl From<PhysicalDeviceProperties> for VkPhysicalDeviceProperties
Source§fn from(f: PhysicalDeviceProperties) -> VkPhysicalDeviceProperties
fn from(f: PhysicalDeviceProperties) -> VkPhysicalDeviceProperties
Converts to this type from the input type.
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