pub struct DeviceLimits {
pub max_buffer_size: u64,
pub max_texture_dimension_1d: u32,
pub max_texture_dimension_2d: u32,
pub max_texture_dimension_3d: u32,
pub max_texture_array_layers: u32,
pub min_uniform_buffer_offset_alignment: u64,
pub min_storage_buffer_offset_alignment: u64,
pub max_compute_workgroup_invocations: u32,
pub max_compute_workgroup_size: [u32; 3],
}Fields§
§max_buffer_size: u64§max_texture_dimension_1d: u32§max_texture_dimension_2d: u32§max_texture_dimension_3d: u32§max_texture_array_layers: u32§min_uniform_buffer_offset_alignment: u64§min_storage_buffer_offset_alignment: u64§max_compute_workgroup_invocations: u32§max_compute_workgroup_size: [u32; 3]Trait Implementations§
Source§impl Clone for DeviceLimits
impl Clone for DeviceLimits
Source§fn clone(&self) -> DeviceLimits
fn clone(&self) -> DeviceLimits
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 moreimpl Copy for DeviceLimits
Source§impl Debug for DeviceLimits
impl Debug for DeviceLimits
Source§impl Default for DeviceLimits
impl Default for DeviceLimits
Source§fn default() -> DeviceLimits
fn default() -> DeviceLimits
Returns the “default value” for a type. Read more
impl Eq for DeviceLimits
Source§impl PartialEq for DeviceLimits
impl PartialEq for DeviceLimits
impl StructuralPartialEq for DeviceLimits
Auto Trait Implementations§
impl Freeze for DeviceLimits
impl RefUnwindSafe for DeviceLimits
impl Send for DeviceLimits
impl Sync for DeviceLimits
impl Unpin for DeviceLimits
impl UnsafeUnpin for DeviceLimits
impl UnwindSafe for DeviceLimits
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