[−][src]Struct png_pong::DecoderBuilder
Builder for PNG decoders.
ChunkDecoder
- low-level,Chunk
sRasterDecoder
- high-level,Raster
s
Methods
impl DecoderBuilder
[src]
pub fn new() -> Self
[src]
Create a new Decoder.
pub fn check_crc(self) -> Self
[src]
Check CRC checksum. CRC checksums are ignored by default for speed.
pub fn check_adler32(self) -> Self
[src]
Check Adler32 checksum. Adler32 checksums are ignored by default for speed.
pub fn decode_chunks<'a, R>(&'a mut self, bytes: R) -> ChunkDecoder<'a, R> where
R: Read,
[src]
R: Read,
Convert into a chunk decoder.
ⓘImportant traits for RasterDecoder<'a, R>pub fn decode_rasters<'a, R>(&'a mut self, bytes: R) -> RasterDecoder<'a, R> where
R: Read,
[src]
ⓘImportant traits for RasterDecoder<'a, R>
R: Read,
Convert into a raster decoder.
Trait Implementations
impl Default for DecoderBuilder
[src]
fn default() -> DecoderBuilder
[src]
Auto Trait Implementations
impl !Sync for DecoderBuilder
impl Unpin for DecoderBuilder
impl !Send for DecoderBuilder
impl UnwindSafe for DecoderBuilder
impl RefUnwindSafe for DecoderBuilder
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,