pub trait ImageDecodeRows<'a, S: Sample>: ImageDecode<'a> {
// Required method
fn decode_rows<R: RowSink<S>>(
&mut self,
sink: &mut R,
) -> Result<DecodeOutcome<Self::Warning>, DecodeRowsError<Self::Error, R::Error>>;
}Expand description
Row-streaming decode API for large images or stripe-oriented callers.
Required Methods§
Sourcefn decode_rows<R: RowSink<S>>(
&mut self,
sink: &mut R,
) -> Result<DecodeOutcome<Self::Warning>, DecodeRowsError<Self::Error, R::Error>>
fn decode_rows<R: RowSink<S>>( &mut self, sink: &mut R, ) -> Result<DecodeOutcome<Self::Warning>, DecodeRowsError<Self::Error, R::Error>>
Decode rows into sink without requiring one contiguous output buffer.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".