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 moreimpl Copy for malloc_statistics_t
Auto Trait Implementations§
impl Freeze for malloc_statistics_t
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)