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

pub struct Metadata {
    pub dimensions: Dimensions,
    pub color_type: ColorType,
    pub color_depth: u8,
    pub compression_method: CompressionMethod,
    pub filter_method: FilterMethod,
    pub interlace_method: InterlaceMethod,
}

Represents metadata of a PNG image.

Fields

Width and height.

Color type used in the image.

Color depth (bits per pixel) used in the image.

Compression method used in the image.

Preprocessing method used in the image.

Transmission order used in the image.

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 Eq for Metadata
[src]

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 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