/// Specify a function to be called regularly throughout the loading process.
/// Replaces all previously specified progress functions in this reader.
Specify a function to be called regularly throughout the loading process.
Replaces all previously specified progress functions in this reader.
Specify a function to be called regularly throughout the loading process . Replaces all previously specified progress functions in this reader .
pub fn on_progress<OnProgress>(self, on_progress: OnProgress) -> ReadImage<OnProgress, L>
        where OnProgress: FnMut(f64)
    {
        ReadImage {
            on_progress,
            read_layers: self.read_layers,
            pedantic: self.pedantic,
            parallel: self.parallel
        }
    }
pub fn on_progress < OnProgress > ( self , on_progress : OnProgress ) -> ReadImage < OnProgress , L > where OnProgress : FnMut ( f64 ) { ReadImage { on_progress , read_layers : self . read_layers , pedantic : self . pedantic , parallel : self . parallel } }
Specify a function to be called regularly throughout the loading process.
Specify a function to be called regularly throughout the loading process .
self
on_progress
OnProgress