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)

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.