pub struct MutableAnimation { /* private fields */ }
Implementations§
Source§impl MutableAnimation
impl MutableAnimation
pub fn new_with_initial(duration: f64, initial: Percentage) -> Self
pub fn new(duration: f64) -> Self
pub fn set_duration(&self, duration: f64)
pub fn pause(&self)
pub fn play(&self)
pub fn jump_to(&self, end: Percentage)
pub fn animate_to(&self, end: Percentage)
pub fn signal(&self) -> MutableAnimationSignal
pub fn current_percentage(&self) -> Percentage
Trait Implementations§
Source§impl Clone for MutableAnimation
impl Clone for MutableAnimation
Source§fn clone(&self) -> MutableAnimation
fn clone(&self) -> MutableAnimation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MutableAnimation
impl RefUnwindSafe for MutableAnimation
impl Send for MutableAnimation
impl Sync for MutableAnimation
impl Unpin for MutableAnimation
impl UnwindSafe for MutableAnimation
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