Progress

Trait Progress 

Source
pub trait Progress {
    // Required method
    fn progress(&self) -> f32;
}
Expand description

The Progress should be implemented by objects intended to progress from start to finish ( 0…1 ).

Required Methods§

Source

fn progress(&self) -> f32

Range: 0…1. 0 represents just starting, 1 represents complete.

Implementors§