Enum gif::ExtensionData[][src]

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

Extension data.

Variants

Control

Control extension. Use ExtensionData::new_control_ext to construct.

Fields of Control

flags: u8

Flags.

delay: u16

Frame delay.

trns: u8

Transparent index.

Repetitions(Repeat)

Sets the number of repetitions

Tuple Fields of Repetitions

0: Repeat

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.