pub fn parallel_workers() -> Option<usize>Expand description
The number of threads a frame’s strips are generated on, the calling
thread included, via FRUST_ENGINE_PARALLEL_WORKERS=<n>; None when unset
or unparsable, which leaves the compiler’s own default. Cached: read once
per process.
A diagnostic knob for re-measuring the worker count on a device (a
build-time --define reaches it through option_env!).
FRUST_ENGINE_NO_PARALLEL wins over it.