pub struct Core {
pub id: u32,
pub min_freq: u64,
pub cur_freq: u64,
pub max_freq: u64,
}
Expand description
Represents a virtual core in a cpu
Fields§
§id: u32
§min_freq: u64
§cur_freq: u64
§max_freq: u64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Core
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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