Struct libc::mach_task_basic_info
source · #[repr(C)]#[repr(packed(4))]pub struct mach_task_basic_info {
pub virtual_size: mach_vm_size_t,
pub resident_size: mach_vm_size_t,
pub resident_size_max: mach_vm_size_t,
pub user_time: time_value_t,
pub system_time: time_value_t,
pub policy: policy_t,
pub suspend_count: integer_t,
}
Fields§
§virtual_size: mach_vm_size_t
§resident_size: mach_vm_size_t
§resident_size_max: mach_vm_size_t
§user_time: time_value_t
§system_time: time_value_t
§policy: policy_t
§suspend_count: integer_t
Trait Implementations§
source§impl Clone for mach_task_basic_info
impl Clone for mach_task_basic_info
source§fn clone(&self) -> mach_task_basic_info
fn clone(&self) -> mach_task_basic_info
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 mach_task_basic_info
impl Debug for mach_task_basic_info
source§impl Hash for mach_task_basic_info
impl Hash for mach_task_basic_info
source§impl PartialEq<mach_task_basic_info> for mach_task_basic_info
impl PartialEq<mach_task_basic_info> for mach_task_basic_info
source§fn eq(&self, other: &mach_task_basic_info) -> bool
fn eq(&self, other: &mach_task_basic_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for mach_task_basic_info
impl Eq for mach_task_basic_info
Auto Trait Implementations§
impl RefUnwindSafe for mach_task_basic_info
impl Send for mach_task_basic_info
impl Sync for mach_task_basic_info
impl Unpin for mach_task_basic_info
impl UnwindSafe for mach_task_basic_info
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