[−][src]Trait exr::image::OnReadProgress
Called occasionally when reading a file.
Implemented by any closure that matches |progress: f32| -> UnitResult
.
Required methods
#[must_use]
fn on_read_progressed(&mut self, progress: f32) -> UnitResult
The progress is a float from 0 to 1.
May return Error::Abort
to cancel reading the file.
Implementations on Foreign Types
impl OnReadProgress for ()
[src]
fn on_read_progressed(&mut self, _progress: f32) -> UnitResult
[src]
Implementors
impl<F> OnReadProgress for F where
F: FnMut(f32) -> UnitResult,
[src]
F: FnMut(f32) -> UnitResult,