Enum gif::ExtensionData
source · [−]Expand description
Extension data.
Variants
Control
Control extension. Use ExtensionData::new_control_ext
to construct.
Repetitions(Repeat)
Sets the number of repetitions
Implementations
sourceimpl ExtensionData
impl ExtensionData
sourcepub fn new_control_ext(
delay: u16,
dispose: DisposalMethod,
needs_user_input: bool,
trns: Option<u8>
) -> ExtensionData
pub 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.
Auto Trait Implementations
impl RefUnwindSafe for ExtensionData
impl Send for ExtensionData
impl Sync for ExtensionData
impl Unpin for ExtensionData
impl UnwindSafe for ExtensionData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more