Enum veloren_common_ecs::ParMode
source · pub enum ParMode {
None,
Single,
Rayon,
Exact(u32),
}
Expand description
measuring the level of threads a unit of code ran on. Use Rayon when it ran on their threadpool. Use Exact when you know on how many threads your code ran on exactly.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for ParMode
impl PartialEq for ParMode
impl Copy for ParMode
impl Eq for ParMode
impl StructuralEq for ParMode
impl StructuralPartialEq for ParMode
Auto Trait Implementations§
impl RefUnwindSafe for ParMode
impl Send for ParMode
impl Sync for ParMode
impl Unpin for ParMode
impl UnwindSafe for ParMode
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