From 2d9ae38c9d2fc1476ea836b60d1e7285b45984e0 Mon Sep 17 00:00:00 2001 From: Pauan Date: Mon, 26 Apr 2021 17:08:11 +0200 Subject: [PATCH] Making MutableAnimation Clone --- src/animation.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/animation.rs b/src/animation.rs index 80af318..b470fd2 100644 --- a/src/animation.rs +++ b/src/animation.rs @@ -631,6 +631,8 @@ struct MutableAnimationInner { // TODO deref to ReadOnlyMutable ? // TODO provide read_only() method ? +// TODO add `is_playing` method ? +#[derive(Clone)] pub struct MutableAnimation { inner: Arc, }