Trait ReadPng

Source
pub trait ReadPng
where Self: Sized,
{ // Required method fn read(f: &mut impl Read) -> Result<Self>; }
Available on crate feature save only.
Expand description

Read png.

Required Methods§

Source

fn read(f: &mut impl Read) -> Result<Self>

Read a png into an image.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ReadPng for Image<Box<[u8]>, 1>

Source§

impl ReadPng for Image<Box<[u8]>, 2>

Source§

impl ReadPng for Image<Box<[u8]>, 3>

Source§

impl ReadPng for Image<Box<[u8]>, 4>