Struct mozjpeg::decompress::DecompressStarted [−][src]
pub struct DecompressStarted<'src> { /* fields omitted */ }
See methods on Decompress
Implementations
impl<'src> DecompressStarted<'src>
[src]
impl<'src> DecompressStarted<'src>
[src]pub fn color_space(&self) -> ColorSpace
[src]
pub fn read_raw_data(&mut self, image_dest: &mut [&mut Vec<u8>])
[src]
pub fn width(&self) -> usize
[src]
pub fn height(&self) -> usize
[src]
pub fn read_scanlines<T: Pod>(&mut self) -> Option<Vec<T>>
[src]
Supports any pixel type that is marked as “plain old data”, see bytemuck crate.
[u8; 3]
and rgb::RGB8
are fine, for example.
pub fn components(&self) -> &[CompInfo]
[src]
pub fn components_mut(&mut self) -> &[CompInfo]
[src]
pub fn finish_decompress(self) -> bool
[src]
Auto Trait Implementations
impl<'src> RefUnwindSafe for DecompressStarted<'src>
impl<'src> RefUnwindSafe for DecompressStarted<'src>
impl<'src> !Send for DecompressStarted<'src>
impl<'src> !Send for DecompressStarted<'src>
impl<'src> !Sync for DecompressStarted<'src>
impl<'src> !Sync for DecompressStarted<'src>
impl<'src> Unpin for DecompressStarted<'src>
impl<'src> Unpin for DecompressStarted<'src>
impl<'src> UnwindSafe for DecompressStarted<'src>
impl<'src> UnwindSafe for DecompressStarted<'src>