Struct libc::processor_set_load_info
source · #[repr(C)]pub struct processor_set_load_info {
pub task_count: c_int,
pub thread_count: c_int,
pub load_average: integer_t,
pub mach_factor: integer_t,
}
Fields§
§task_count: c_int
§thread_count: c_int
§load_average: integer_t
§mach_factor: integer_t
Trait Implementations§
source§impl Clone for processor_set_load_info
impl Clone for processor_set_load_info
source§fn clone(&self) -> processor_set_load_info
fn clone(&self) -> processor_set_load_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 processor_set_load_info
impl Debug for processor_set_load_info
source§impl Hash for processor_set_load_info
impl Hash for processor_set_load_info
source§impl PartialEq<processor_set_load_info> for processor_set_load_info
impl PartialEq<processor_set_load_info> for processor_set_load_info
source§fn eq(&self, other: &processor_set_load_info) -> bool
fn eq(&self, other: &processor_set_load_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for processor_set_load_info
impl Eq for processor_set_load_info
Auto Trait Implementations§
impl RefUnwindSafe for processor_set_load_info
impl Send for processor_set_load_info
impl Sync for processor_set_load_info
impl Unpin for processor_set_load_info
impl UnwindSafe for processor_set_load_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