Struct mozjpeg::decompress::DecompressStarted[][src]

pub struct DecompressStarted<'src> { /* fields omitted */ }

See methods on Decompress

Implementations

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> !Send for DecompressStarted<'src>

impl<'src> !Sync for DecompressStarted<'src>

impl<'src> Unpin for DecompressStarted<'src>

impl<'src> UnwindSafe for DecompressStarted<'src>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.