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: u16
Width of the image
height: u16
Height of image
pixel_density: u8
PixelDensity
sof: SOFMarkers
Start of frame markers
x_density: u16
Horizontal sample
y_density: u16
Vertical sample
components: u8
Number 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)