#[repr(C)]pub struct GlobalStats {
pub total_allocated_bytes: u64,
pub total_deallocated_bytes: u64,
}
Fields§
§total_allocated_bytes: u64
§total_deallocated_bytes: u64
Trait Implementations§
Source§impl Clone for GlobalStats
impl Clone for GlobalStats
Source§fn clone(&self) -> GlobalStats
fn clone(&self) -> GlobalStats
Returns a copy 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 moreSource§impl Default for GlobalStats
impl Default for GlobalStats
Source§fn default() -> GlobalStats
fn default() -> GlobalStats
Returns the “default value” for a type. Read more
impl Copy for GlobalStats
Auto Trait Implementations§
impl Freeze for GlobalStats
impl RefUnwindSafe for GlobalStats
impl Send for GlobalStats
impl Sync for GlobalStats
impl Unpin for GlobalStats
impl UnwindSafe for GlobalStats
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