[][src]Struct rin::graphics::image::jpeg::JPEGEncoder

pub struct JPEGEncoder<'a, W> where
    W: 'a + 'a, 
{ /* fields omitted */ }

The representation of a JPEG encoder

Methods

impl<'a, W> JPEGEncoder<'a, W> where
    W: Write
[src]

Create a new encoder that writes its output to w

Create a new encoder that writes its output to w, and has the quality parameter quality with a value in the range 1-100 where 1 is the worst and 100 is the best.

Encodes the image image that has dimensions width and height and ColorType c

The Image in encoded with subsampling ratio 4:2:2

Auto Trait Implementations

impl<'a, W> Send for JPEGEncoder<'a, W> where
    W: Send

impl<'a, W> Sync for JPEGEncoder<'a, W> where
    W: Sync

Blanket Implementations

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T
[src]

Should always be Self