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
sourceimpl Clone for malloc_statistics_t
impl Clone for malloc_statistics_t
sourcefn clone(&self) -> malloc_statistics_t
fn clone(&self) -> malloc_statistics_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for malloc_statistics_t
impl Debug for malloc_statistics_t
sourceimpl Hash for malloc_statistics_t
impl Hash for malloc_statistics_t
sourceimpl PartialEq<malloc_statistics_t> for malloc_statistics_t
impl PartialEq<malloc_statistics_t> for malloc_statistics_t
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &malloc_statistics_t) -> bool
fn ne(&self, other: &malloc_statistics_t) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more