Struct screen_13::prelude::PhysicalDevice
source · [−]pub struct PhysicalDevice {
pub mem_props: PhysicalDeviceMemoryProperties,
pub props: PhysicalDeviceProperties,
/* private fields */
}Expand description
Structure which holds data about the physical hardware selected by the current device.
Fields
mem_props: PhysicalDeviceMemoryPropertiesMemory properties of the physical device.
props: PhysicalDevicePropertiesDevice properties of the physical device.
Trait Implementations
sourceimpl Clone for PhysicalDevice
impl Clone for PhysicalDevice
sourcefn clone(&self) -> PhysicalDevice
fn clone(&self) -> PhysicalDevice
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PhysicalDevice
impl Debug for PhysicalDevice
sourceimpl Deref for PhysicalDevice
impl Deref for PhysicalDevice
type Target = PhysicalDevice
type Target = PhysicalDevice
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for PhysicalDevice
impl Send for PhysicalDevice
impl Sync for PhysicalDevice
impl Unpin for PhysicalDevice
impl UnwindSafe for PhysicalDevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more