[−][src]Trait rin::graphics::image::ImageDecoderExt
ImageDecoderExt trait
Required Methods
fn read_rect_with_progress<F>(
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8],
progress_callback: F
) -> Result<(), ImageError> where
F: Fn(Progress),
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8],
progress_callback: F
) -> Result<(), ImageError> where
F: Fn(Progress),
Read a rectangular section of the image, periodically reporting progress.
Provided Methods
fn read_rect(
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8]
) -> Result<(), ImageError>
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8]
) -> Result<(), ImageError>
Read a rectangular section of the image.
Implementors
impl<R> ImageDecoderExt for BMPDecoder<R> where
R: Read + Seek,
[src]
impl<R> ImageDecoderExt for BMPDecoder<R> where
R: Read + Seek,
fn read_rect_with_progress<F>(
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8],
progress_callback: F
) -> Result<(), ImageError> where
F: Fn(Progress),
[src]
fn read_rect_with_progress<F>(
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8],
progress_callback: F
) -> Result<(), ImageError> where
F: Fn(Progress),
fn read_rect(
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8]
) -> Result<(), ImageError>
[src]
fn read_rect(
&mut self,
x: u64,
y: u64,
width: u64,
height: u64,
buf: &mut [u8]
) -> Result<(), ImageError>
impl<R> ImageDecoderExt for DXTDecoder<R> where
R: Read + Seek,
[src]
impl<R> ImageDecoderExt for DXTDecoder<R> where
R: Read + Seek,