pub struct ImageData {
pub alpha: Option<Vec<u8>>,
pub color_space: ImageColorSpace,
pub bits_per_component: u8,
}Expand description
Additional data that is extracted from some image streams.
Fields§
§alpha: Option<Vec<u8>>An optional alpha channel of the image.
color_space: ImageColorSpaceThe color space of the image.
bits_per_component: u8The bits per component of the image.
Auto Trait Implementations§
impl Freeze for ImageData
impl RefUnwindSafe for ImageData
impl Send for ImageData
impl Sync for ImageData
impl Unpin for ImageData
impl UnwindSafe for ImageData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more