[][src]Struct rin::graphics::image::bmp::BMPDecoder

pub struct BMPDecoder<R> { /* fields omitted */ }

A bmp decoder

Methods

impl<R> BMPDecoder<R> where
    R: Read + Seek
[src]

Create a new decoder that decodes from the stream r

Trait Implementations

impl<R> ImageDecoder for BMPDecoder<R> where
    R: Read + Seek
[src]

The type of reader produced by into_reader.

Returns the number of bytes in a single row of the image. All decoders will pad image rows to a byte boundary. Read more

Returns the total number of bytes in the image.

Returns the minimum number of bytes that can be efficiently read from this decoder. This may be as few as 1 or as many as total_bytes(). Read more

Same as read_image but periodically calls the provided callback to give updates on loading progress. Read more

impl<R> ImageDecoderExt for BMPDecoder<R> where
    R: Read + Seek
[src]

Read a rectangular section of the image.

Auto Trait Implementations

impl<R> Send for BMPDecoder<R> where
    R: Send

impl<R> Sync for BMPDecoder<R> where
    R: 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