Struct jpng::footer::JpngFooter[][src]

pub struct JpngFooter {
    pub image_size: u32,
    pub mask_size: u32,
    pub major_version: u8,
    pub minor_version: u8,
    // some fields omitted
}

Fields

Methods

impl JpngFooter
[src]

Gives a default representation of a JpngFooter.

Footer size is automatically set to the size of the struct, the major_version is set to 1 since it is the minimum version, and the identifier is set to its expected value.

Gives a string representation of the version as declared by the footer. For example, "1.0".

Gives the range that the image component is in.

Gives the range that the mask component is in.

Trait Implementations

impl Copy for JpngFooter
[src]

impl Clone for JpngFooter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for JpngFooter
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for JpngFooter

impl Sync for JpngFooter