Struct libc::processor_basic_info
source · #[repr(C)]pub struct processor_basic_info {
pub cpu_type: cpu_type_t,
pub cpu_subtype: cpu_subtype_t,
pub running: boolean_t,
pub slot_num: c_int,
pub is_master: boolean_t,
}
Fields§
§cpu_type: cpu_type_t
§cpu_subtype: cpu_subtype_t
§running: boolean_t
§slot_num: c_int
§is_master: boolean_t
Trait Implementations§
source§impl Clone for processor_basic_info
impl Clone for processor_basic_info
source§fn clone(&self) -> processor_basic_info
fn clone(&self) -> processor_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 processor_basic_info
impl Debug for processor_basic_info
source§impl Hash for processor_basic_info
impl Hash for processor_basic_info
source§impl PartialEq<processor_basic_info> for processor_basic_info
impl PartialEq<processor_basic_info> for processor_basic_info
source§fn eq(&self, other: &processor_basic_info) -> bool
fn eq(&self, other: &processor_basic_info) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for processor_basic_info
impl Eq for processor_basic_info
Auto Trait Implementations§
impl RefUnwindSafe for processor_basic_info
impl Send for processor_basic_info
impl Sync for processor_basic_info
impl Unpin for processor_basic_info
impl UnwindSafe for processor_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