Type Alias ImgRef

Source
pub type ImgRef<'a> = Img<&'a [u8]>;
Expand description

Type alias for an image reference.

Aliased Type§

struct ImgRef<'a> {
    pub fmt: ImgFmt,
    pub data: &'a [u8],
}

Fields§

§fmt: ImgFmt

The image format.

§data: &'a [u8]

The image data.