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: &Shared<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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more