pub struct WgpuLimitEvidence {
pub max_buffer_size: u64,
pub max_storage_buffer_binding_size: u64,
pub max_uniform_buffer_binding_size: u64,
pub min_storage_buffer_offset_alignment: u32,
pub min_uniform_buffer_offset_alignment: u32,
pub max_compute_workgroups_per_dimension: u32,
pub max_compute_invocations_per_workgroup: u32,
pub max_compute_workgroup_size_x: u32,
pub max_compute_workgroup_size_y: u32,
pub max_compute_workgroup_size_z: u32,
}Expand description
Limits recorded from either the requested or granted device contract.
Fields§
§max_buffer_size: u64Maximum buffer size.
max_storage_buffer_binding_size: u64Maximum storage buffer binding size.
max_uniform_buffer_binding_size: u64Maximum uniform buffer binding size.
min_storage_buffer_offset_alignment: u32Minimum storage buffer offset alignment.
min_uniform_buffer_offset_alignment: u32Minimum uniform buffer offset alignment.
max_compute_workgroups_per_dimension: u32Maximum compute workgroups per dimension.
max_compute_invocations_per_workgroup: u32Maximum compute invocations per workgroup.
max_compute_workgroup_size_x: u32Maximum compute workgroup size x.
max_compute_workgroup_size_y: u32Maximum compute workgroup size y.
max_compute_workgroup_size_z: u32Maximum compute workgroup size z.
Trait Implementations§
Source§impl Clone for WgpuLimitEvidence
impl Clone for WgpuLimitEvidence
Source§fn clone(&self) -> WgpuLimitEvidence
fn clone(&self) -> WgpuLimitEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WgpuLimitEvidence
impl Debug for WgpuLimitEvidence
impl Eq for WgpuLimitEvidence
Source§impl PartialEq for WgpuLimitEvidence
impl PartialEq for WgpuLimitEvidence
impl StructuralPartialEq for WgpuLimitEvidence
Auto Trait Implementations§
impl Freeze for WgpuLimitEvidence
impl RefUnwindSafe for WgpuLimitEvidence
impl Send for WgpuLimitEvidence
impl Sync for WgpuLimitEvidence
impl Unpin for WgpuLimitEvidence
impl UnsafeUnpin for WgpuLimitEvidence
impl UnwindSafe for WgpuLimitEvidence
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.