Struct gfx_hal::PhysicalDeviceProperties
source · [−]pub struct PhysicalDeviceProperties {
pub limits: Limits,
pub descriptor_indexing: DescriptorIndexingProperties,
pub mesh_shader: MeshShaderProperties,
pub sampler_reduction: SamplerReductionProperties,
pub downlevel: DownlevelProperties,
pub performance_caveats: PerformanceCaveats,
pub dynamic_pipeline_states: DynamicStates,
pub external_memory_limits: ExternalMemoryLimits,
}
Expand description
Properties of physical devices that are exposed but do not need to be explicitly opted into.
This contains things like resource limits, alignment requirements, and finer-grained feature capabilities.
Fields
limits: Limits
Core limits.
descriptor_indexing: DescriptorIndexingProperties
Descriptor Indexing properties.
mesh_shader: MeshShaderProperties
Mesh Shader properties.
sampler_reduction: SamplerReductionProperties
Sampler reduction modes.
downlevel: DownlevelProperties
Downlevel properties.
performance_caveats: PerformanceCaveats
Performance caveats.
dynamic_pipeline_states: DynamicStates
Dynamic pipeline states.
external_memory_limits: ExternalMemoryLimits
External memory limits
Trait Implementations
sourceimpl Clone for PhysicalDeviceProperties
impl Clone for PhysicalDeviceProperties
sourcefn clone(&self) -> PhysicalDeviceProperties
fn clone(&self) -> PhysicalDeviceProperties
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 PhysicalDeviceProperties
impl Debug for PhysicalDeviceProperties
sourceimpl Default for PhysicalDeviceProperties
impl Default for PhysicalDeviceProperties
sourcefn default() -> PhysicalDeviceProperties
fn default() -> PhysicalDeviceProperties
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PhysicalDeviceProperties> for PhysicalDeviceProperties
impl PartialEq<PhysicalDeviceProperties> for PhysicalDeviceProperties
sourcefn eq(&self, other: &PhysicalDeviceProperties) -> bool
fn eq(&self, other: &PhysicalDeviceProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PhysicalDeviceProperties) -> bool
fn ne(&self, other: &PhysicalDeviceProperties) -> bool
This method tests for !=
.
impl Copy for PhysicalDeviceProperties
impl StructuralPartialEq for PhysicalDeviceProperties
Auto Trait Implementations
impl RefUnwindSafe for PhysicalDeviceProperties
impl Send for PhysicalDeviceProperties
impl Sync for PhysicalDeviceProperties
impl Unpin for PhysicalDeviceProperties
impl UnwindSafe for PhysicalDeviceProperties
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
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more