Enum gif::ExtensionData
[−]
[src]
pub enum ExtensionData {
Control {
flags: u8,
delay: u16,
trns: u8,
},
Repetitions(Repeat),
}Extension data.
Variants
Control | Control extension. Use Fields
| |||||||
Repetitions | Sets the number of repetitions |
Methods
impl ExtensionData
fn new_control_ext(delay: u16, dispose: DisposalMethod, needs_user_input: bool, trns: Option<u8>) -> ExtensionData
Constructor for control extension data.
delay is given in units of 10 ms.