pub enum TranslationKind {
Loop {
from: TranslationOffset,
to: TranslationOffset,
period_millis: u32,
},
To {
target: TranslationOffset,
duration_millis: u16,
},
}Variants§
Loop
Repeat from the explicit start. Replacing the endpoints restarts here.
To
First appearance is static. Later target changes start at current ink.
Trait Implementations§
Source§impl Clone for TranslationKind
impl Clone for TranslationKind
impl Copy for TranslationKind
Source§impl Debug for TranslationKind
impl Debug for TranslationKind
Source§impl PartialEq for TranslationKind
impl PartialEq for TranslationKind
impl StructuralPartialEq for TranslationKind
Auto Trait Implementations§
impl Forget for TranslationKind
impl Freeze for TranslationKind
impl Move for TranslationKind
impl RefUnwindSafe for TranslationKind
impl Send for TranslationKind
impl Sync for TranslationKind
impl Unpin for TranslationKind
impl UnsafeUnpin for TranslationKind
impl UnwindSafe for TranslationKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more