pub struct ResourceTally {
pub contexts: u32,
pub buffers: u32,
pub programs: u32,
pub queues: u32,
pub events: u32,
}Expand description
Resource counts for one ownership state.
Fields§
§contexts: u32§buffers: u32§programs: u32§queues: u32§events: u32Trait Implementations§
Source§impl Clone for ResourceTally
impl Clone for ResourceTally
Source§fn clone(&self) -> ResourceTally
fn clone(&self) -> ResourceTally
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 ResourceTally
Source§impl Debug for ResourceTally
impl Debug for ResourceTally
Source§impl Default for ResourceTally
impl Default for ResourceTally
Source§fn default() -> ResourceTally
fn default() -> ResourceTally
Returns the “default value” for a type. Read more
impl Eq for ResourceTally
Source§impl PartialEq for ResourceTally
impl PartialEq for ResourceTally
Source§fn eq(&self, other: &ResourceTally) -> bool
fn eq(&self, other: &ResourceTally) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceTally
Auto Trait Implementations§
impl Freeze for ResourceTally
impl RefUnwindSafe for ResourceTally
impl Send for ResourceTally
impl Sync for ResourceTally
impl Unpin for ResourceTally
impl UnsafeUnpin for ResourceTally
impl UnwindSafe for ResourceTally
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