pub struct PhysicalDeviceProperties { /* private fields */ }
Expand description
An owned set of physical device features.
Implementations§
source§impl PhysicalDeviceProperties
impl PhysicalDeviceProperties
sourcepub fn from_physical_device(
instance: &VulkanInstance,
physical_device: &PhysicalDevice
) -> Self
pub fn from_physical_device( instance: &VulkanInstance, physical_device: &PhysicalDevice ) -> Self
Get the properties from a physical device.
pub fn properties(&self) -> &PhysicalDeviceProperties
pub fn properties_mut(&mut self) -> &mut PhysicalDeviceProperties
sourcepub unsafe fn link_p_next_chain(&mut self) -> &mut PhysicalDeviceProperties2
pub unsafe fn link_p_next_chain(&mut self) -> &mut PhysicalDeviceProperties2
Link all of the contained device feature structs using their p_next pointers.
Safety
The linked pointers are invalid if the owning struct is moved.
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
source§fn default() -> PhysicalDeviceProperties
fn default() -> PhysicalDeviceProperties
Returns the “default value” for a type. Read more