modformat;pub(crate)modlayout;pubuseformat::ImageFormat;/// One 2D image: a mip of one frame, face and depth slice, or the thumbnail
#[derive(Debug, Clone, Copy, PartialEq, Eq)]pubstructRawImage<'a>{pubformat: ImageFormat,
pubwidth:u16,
pubheight:u16,
/// Undecoded and tightly packed, block-compressed formats in whole 4x4 blocks
pubdata:&'a [u8],
}