Struct immeta::formats::gif::ApplicationExtension [] [src]

pub struct ApplicationExtension {
    pub application_identifier: [u8; 8],
    pub authentication_code: [u8; 3],
}

Contains metadata for application extension block.

These blocks usually contain information about the application which was used to create the image.

Fields

Eight ASCII bytes of an application identifier.

Three bytes of an application authentication code.

Citing the GIF spec:

Sequence of three bytes used to authenticate the Application Identifier. An Application program may use an algorithm to compute a binary code that uniquely identifies it as the application owning the Application Extension.

Methods

impl ApplicationExtension
[src]

[src]

Returns application identifier as a UTF-8 string, if possible.

For correct images this method should always return Some.

[src]

Returns authentication code as a UTF-8 string, if possible.

Trait Implementations

impl Clone for ApplicationExtension
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ApplicationExtension
[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 ApplicationExtension
[src]

impl Debug for ApplicationExtension
[src]

[src]

Formats the value using the given formatter. Read more