Skip to main content

ImageDecodeRows

Trait ImageDecodeRows 

Source
pub trait ImageDecodeRows<'a, S>: ImageDecode<'a>
where S: Sample,
{ // Required method fn decode_rows<R>( &mut self, sink: &mut R, ) -> Result<DecodeOutcome<Self::Warning>, DecodeRowsError<Self::Error, <R as RowSink<S>>::Error>> where R: RowSink<S>; }
Expand description

Row-streaming decode API for large images or stripe-oriented callers.

Required Methods§

Source

fn decode_rows<R>( &mut self, sink: &mut R, ) -> Result<DecodeOutcome<Self::Warning>, DecodeRowsError<Self::Error, <R as RowSink<S>>::Error>>
where R: RowSink<S>,

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".

Implementors§