pub struct WgpuLimits {
pub max_storage_buffer_binding_size: u32,
pub max_buffer_size: u64,
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,
pub max_compute_workgroups_per_dimension: u32,
}Fields§
§max_storage_buffer_binding_size: u32§max_buffer_size: u64§max_compute_invocations_per_workgroup: u32§max_compute_workgroup_size_x: u32§max_compute_workgroup_size_y: u32§max_compute_workgroup_size_z: u32§max_compute_workgroups_per_dimension: u32Trait Implementations§
Source§impl Clone for WgpuLimits
impl Clone for WgpuLimits
Source§fn clone(&self) -> WgpuLimits
fn clone(&self) -> WgpuLimits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WgpuLimits
impl RefUnwindSafe for WgpuLimits
impl Send for WgpuLimits
impl Sync for WgpuLimits
impl Unpin for WgpuLimits
impl UnwindSafe for WgpuLimits
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