Skip to main content

with_spring_options

Function with_spring_options 

Source
pub fn with_spring_options(frequency: f64, damping: f64) -> Option
Expand description

WithSpringOptions sets the initial frequency and damping options for the progress bar’s built-in spring-based animation. Frequency corresponds to speed, and damping to bounciness.