Struct core_affinity::CoreId
source · pub struct CoreId {
pub id: usize,
}Expand description
This represents a CPU core.
Fields
id: usizeTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CoreId
impl Send for CoreId
impl Sync for CoreId
impl Unpin for CoreId
impl UnwindSafe for CoreId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more