Set the position of a progress bar. # Arguments `pb` - The progress bar `pos` - The new position
(pb: &ProgressBar, pos: u64)
| 356 | /// * `pb` - The progress bar |
| 357 | /// * `pos` - The new position |
| 358 | pub fn set_position(pb: &ProgressBar, pos: u64) { |
| 359 | pb.set_position(pos); |
| 360 | } |
| 361 | |
| 362 | /// Set the message of a progress bar. |
| 363 | /// |