pub struct InfiniteRepeatableSpec<T> {
pub animation: AnimationSpec,
pub repeat_mode: RepeatMode,
pub initial_start_offset: StartOffset,
/* private fields */
}Expand description
Infinite repeatable animation spec built from a duration-based animation.
Fields§
§animation: AnimationSpecBase animation used for each iteration.
repeat_mode: RepeatModeRepeat mode (restart or reverse).
initial_start_offset: StartOffsetStart offset applied before the first iteration.
Trait Implementations§
Source§impl<T: Clone> Clone for InfiniteRepeatableSpec<T>
impl<T: Clone> Clone for InfiniteRepeatableSpec<T>
Source§fn clone(&self) -> InfiniteRepeatableSpec<T>
fn clone(&self) -> InfiniteRepeatableSpec<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for InfiniteRepeatableSpec<T>
impl<T: Debug> Debug for InfiniteRepeatableSpec<T>
Source§impl<T: PartialEq> PartialEq for InfiniteRepeatableSpec<T>
impl<T: PartialEq> PartialEq for InfiniteRepeatableSpec<T>
Source§fn eq(&self, other: &InfiniteRepeatableSpec<T>) -> bool
fn eq(&self, other: &InfiniteRepeatableSpec<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T> StructuralPartialEq for InfiniteRepeatableSpec<T>
Auto Trait Implementations§
impl<T> Freeze for InfiniteRepeatableSpec<T>
impl<T> RefUnwindSafe for InfiniteRepeatableSpec<T>
impl<T> Send for InfiniteRepeatableSpec<T>
impl<T> Sync for InfiniteRepeatableSpec<T>
impl<T> Unpin for InfiniteRepeatableSpec<T>
impl<T> UnsafeUnpin for InfiniteRepeatableSpec<T>
impl<T> UnwindSafe for InfiniteRepeatableSpec<T>
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