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 moreimpl Copy for processor_basic_info
Auto Trait Implementations§
impl Freeze for processor_basic_info
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
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
)