pub struct DeviceLimits {
pub max_contexts: u32,
pub max_buffers_per_context: u32,
pub max_programs_per_context: u32,
pub max_queues_per_context: u32,
pub max_events_per_context: u32,
pub max_bindings_per_submission: u32,
pub max_buffer_bytes: u64,
pub max_artifact_bytes: u64,
}Fields§
§max_contexts: u32§max_buffers_per_context: u32§max_programs_per_context: u32§max_queues_per_context: u32§max_events_per_context: u32§max_bindings_per_submission: u32§max_buffer_bytes: u64§max_artifact_bytes: u64Trait 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
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