Enum gif::ExtensionData[][src]

pub enum ExtensionData {
    Control {
        flags: u8,
        delay: u16,
        trns: u8,
    },
    Repetitions(Repeat),
}
Expand description

Extension data.

Variants

Control

Fields

flags: u8

Flags.

delay: u16

Frame delay.

trns: u8

Transparent index.

Control extension. Use ExtensionData::new_control_ext to construct.

Repetitions(Repeat)

Tuple Fields

0: Repeat

Sets the number of repetitions

Implementations

Constructor for control extension data.

delay is given in units of 10 ms.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.