pub struct Lottie { /* private fields */ }
Expand description
A widget to display a loaded LottieComposition
.
The controller
property allows to specify a custom AnimationController that
will drive the animation. If controller
is None, the animation will play
automatically and the behavior could be adjusted with the properties animate
,
repeat
and reverse
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lottie
impl !RefUnwindSafe for Lottie
impl !Send for Lottie
impl !Sync for Lottie
impl Unpin for Lottie
impl !UnwindSafe for Lottie
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