Struct immeta::formats::jpeg::Metadata [] [src]

pub struct Metadata {
    pub dimensions: Dimensions,
    pub sample_precision: u8,
    pub coding_process: CodingProcess,
    pub entropy_coding: EntropyCoding,
    pub baseline: bool,
    pub differential: bool,
}

Represents metadata of a JPEG image.

It provides information contained in JPEG frame header, including image dimensions, coding process type and entropy coding type.

Fields

Image size.

Sample precision (in bits).

Image coding process type.

Image entropy coding type.

Whether this image uses a baseline DCT encoding.

Whether this image uses a differential encoding.

Trait Implementations

impl Clone for Metadata
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Metadata
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Metadata
[src]

impl Debug for Metadata
[src]

[src]

Formats the value using the given formatter. Read more

impl LoadableMetadata for Metadata
[src]

[src]

Loads the implementing type from the given buffered input stream.

[src]

Loads the implementing type from the given buffered and seekable input stream. Read more

[src]

Loads the implementing type from a file specified by the given path. Read more

[src]

Loads the implementing type from an in-memory buffer. Read more

Auto Trait Implementations

impl Send for Metadata

impl Sync for Metadata