Set the position of a progress bar. # Arguments `pb` - The progress bar `pos` - The new position
(pb: &ProgressBar, pos: u64)
| 377 | /// * `pb` - The progress bar |
| 378 | /// * `pos` - The new position |
| 379 | pub fn set_position(pb: &ProgressBar, pos: u64) { |
| 380 | pb.set_position(pos); |
| 381 | } |
| 382 | |
| 383 | /// Set the message of a progress bar. |
| 384 | /// |