[][src]Struct rin::graphics::image::tga::TGADecoder

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

The representation of a TGA decoder

Methods

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

Create a new decoder that decodes from the stream r

Trait Implementations

impl<R> ImageDecoder for TGADecoder<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.

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

Auto Trait Implementations

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

impl<R> Sync for TGADecoder<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