AbmpRes

Trait AbmpRes 

Source
trait AbmpRes {
    // Required methods
    fn read_from<T: Read + Seek>(
        data: &mut T,
        encoding: Encoding,
        img: &mut AbmpImage,
    ) -> Result<Self>
       where Self: Sized;
    fn write_to<T: Write + Seek>(
        &self,
        data: &mut T,
        encoding: Encoding,
        img: &AbmpImage,
    ) -> Result<()>;
}
Available on crate features qlie and qlie-img only.

Required Methods§

Source

fn read_from<T: Read + Seek>( data: &mut T, encoding: Encoding, img: &mut AbmpImage, ) -> Result<Self>
where Self: Sized,

Source

fn write_to<T: Write + Seek>( &self, data: &mut T, encoding: Encoding, img: &AbmpImage, ) -> Result<()>

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§