pub enum Cpu {
ProCpu = 0,
AppCpu = 1,
}
Expand description
Available CPU cores
The actual number of available cores depends on the target.
Variants§
Trait Implementations§
impl Eq for Cpu
impl StructuralPartialEq for Cpu
Auto Trait Implementations§
impl RefUnwindSafe for Cpu
impl Send for Cpu
impl Sync for Cpu
impl Unpin for Cpu
impl UnwindSafe for Cpu
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