Struct screen_13::driver::PhysicalDevice
source · [−]pub struct PhysicalDevice {
pub mem_props: PhysicalDeviceMemoryProperties,
pub props: PhysicalDeviceProperties,
/* private fields */
}Fields
mem_props: PhysicalDeviceMemoryPropertiesprops: PhysicalDevicePropertiesImplementations
sourceimpl PhysicalDevice
impl PhysicalDevice
pub fn new(
physical_device: PhysicalDevice,
mem_props: PhysicalDeviceMemoryProperties,
props: PhysicalDeviceProperties,
queue_families: Vec<QueueFamily>
) -> Self
pub fn has_presentation_support<P>(
_this: &Self,
_instance: &SharedPointer<Instance, P>,
_surface: &Surface<P>
) -> bool where
P: SharedPointerKind,
pub fn has_ray_tracing_support(_this: &Self) -> bool
pub fn queue_families(this: &Self) -> impl Iterator<Item = QueueFamily> + '_
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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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