Struct libc::malloc_statistics_t
source · #[repr(C)]pub struct malloc_statistics_t {
pub blocks_in_use: c_uint,
pub size_in_use: size_t,
pub max_size_in_use: size_t,
pub size_allocated: size_t,
}
Fields§
§blocks_in_use: c_uint
§size_in_use: size_t
§max_size_in_use: size_t
§size_allocated: size_t
Trait Implementations§
source§impl Clone for malloc_statistics_t
impl Clone for malloc_statistics_t
source§fn clone(&self) -> malloc_statistics_t
fn clone(&self) -> malloc_statistics_t
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 Debug for malloc_statistics_t
impl Debug for malloc_statistics_t
source§impl Hash for malloc_statistics_t
impl Hash for malloc_statistics_t
source§impl PartialEq<malloc_statistics_t> for malloc_statistics_t
impl PartialEq<malloc_statistics_t> for malloc_statistics_t
source§fn eq(&self, other: &malloc_statistics_t) -> bool
fn eq(&self, other: &malloc_statistics_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for malloc_statistics_t
impl Eq for malloc_statistics_t
impl StructuralEq for malloc_statistics_t
impl StructuralPartialEq for malloc_statistics_t
Auto Trait Implementations§
impl RefUnwindSafe for malloc_statistics_t
impl Send for malloc_statistics_t
impl Sync for malloc_statistics_t
impl Unpin for malloc_statistics_t
impl UnwindSafe for malloc_statistics_t
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