pub struct ImageInfo {
pub width: u16,
pub height: u16,
pub pixel_density: u8,
pub sof: SOFMarkers,
pub x_density: u16,
pub y_density: u16,
pub components: u8,
}Expand description
A struct representing Image Information
Fields§
§width: u16Width of the image
height: u16Height of image
pixel_density: u8PixelDensity
sof: SOFMarkersStart of frame markers
x_density: u16Horizontal sample
y_density: u16Vertical sample
components: u8Number of components
Trait Implementations§
source§impl PartialEq for ImageInfo
impl PartialEq for ImageInfo
impl Eq for ImageInfo
impl StructuralPartialEq for ImageInfo
Auto Trait Implementations§
impl Freeze for ImageInfo
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnwindSafe for ImageInfo
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