#[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 builder<'a>() -> PhysicalDevicePropertiesBuilder<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)