(&'static self, f: F)
| 736 | // ----------------------------------------------------------------------------- |
| 737 | // Broadcasts |
| 738 | |
| 739 | /// Context object for [`broadcast`](Worker::broadcast) operations. |
| 740 | pub struct Broadcast<'w> { |
| 741 | /// The worker this part of the broadcast is running on. This will be in |
| 742 | /// `[0, participants)`. |
| 743 | pub worker: &'w Worker, |
| 744 | /// The index of this worker within the broadcast. The return value will be |
| 745 | /// stored at this index within the results vector. |
| 746 | pub index: usize, |
| 747 | /// The number of threads participating in the broadcast. |
no test coverage detected