Struct jpeg_decoder::ImageInfo
source · [−]pub struct ImageInfo {
pub width: u16,
pub height: u16,
pub pixel_format: PixelFormat,
pub coding_process: CodingProcess,
}
Expand description
Represents metadata of an image.
Fields
width: u16
The width of the image, in pixels.
height: u16
The height of the image, in pixels.
pixel_format: PixelFormat
The pixel format of the image.
coding_process: CodingProcess
The coding process of the image.
Trait Implementations
impl Copy for ImageInfo
impl StructuralPartialEq for ImageInfo
Auto Trait Implementations
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnwindSafe for ImageInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more