Trait GeneratorProgress

Source
pub trait GeneratorProgress {
    // Required method
    fn update(&mut self, info: ProgressUpdate<'_>);
}
Expand description

Allows the generator to update external callers with the current progress of the image synthesis

Required Methods§

Source

fn update(&mut self, info: ProgressUpdate<'_>)

Implementors§

Source§

impl<G> GeneratorProgress for G
where G: FnMut(ProgressUpdate<'_>) + Send,