pub type ImgRef<'a> = Img<&'a [u8]>;
Type alias for an image reference.
struct ImgRef<'a> { pub fmt: ImgFmt, pub data: &'a [u8], }
fmt: ImgFmt
The image format.
data: &'a [u8]
The image data.