Trait aligner::ProgressHandler [] [src]

pub trait ProgressHandler {
    fn init(&mut self, steps: i64) { ... }
fn inc(&mut self) { ... }
fn finish(&mut self) { ... } }

Use this trait if you want more detailed information about the progress of the align operation (which might take some seconds).

Provided Methods

Will be called one time before inc() is called. steps is the number of times inc() will be called.

The number of steps is around the number of lines in the "incorrect" subtitle. Be aware that this number can be zero!

We made (small) progress!

Will be called after the last inc(), when inc() was called steps times.

Implementors