WithNbThreads

Trait WithNbThreads 

Source
pub trait WithNbThreads<T> {
    // Required methods
    fn nb_threads(&self) -> Option<u32>;
    fn with_nb_threads(&self, threads: u32) -> T;
}

Required Methods§

Source

fn nb_threads(&self) -> Option<u32>

Source

fn with_nb_threads(&self, threads: u32) -> T

Implementors§