pub struct CoreId {
pub id: usize,
}
Expand description
This represents a CPU core.
Fields§
§id: usize
Trait Implementations§
impl Copy for CoreId
impl Eq for CoreId
impl StructuralPartialEq for CoreId
Auto Trait Implementations§
impl Freeze for CoreId
impl RefUnwindSafe for CoreId
impl Send for CoreId
impl Sync for CoreId
impl Unpin for CoreId
impl UnwindSafe for CoreId
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