Struct bevy_tasks::TaskPoolBuilder [−][src]
pub struct TaskPoolBuilder { /* fields omitted */ }
Expand description
Used to create a TaskPool
Implementations
Creates a new TaskPoolBuilder
instance
Override the number of threads created for the pool. If unset, we default to the number of logical cores of the system
Override the stack size of the threads created for the pool
Override the name of the threads created for the pool. If set, threads will
be named <thread_name> (<thread_index>)
, i.e. MyThreadPool (2)
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TaskPoolBuilder
impl Send for TaskPoolBuilder
impl Sync for TaskPoolBuilder
impl Unpin for TaskPoolBuilder
impl UnwindSafe for TaskPoolBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more