Skip to main content

MotionTrack

Trait MotionTrack 

Source
pub trait MotionTrack {
    // Required methods
    fn identity(&self) -> usize;
    fn is_active(&self) -> bool;
    fn advance(&self, now: Time) -> bool;
    fn finish(&self);
    fn cancel(&self);
}

Required Methods§

Source

fn identity(&self) -> usize

Source

fn is_active(&self) -> bool

Source

fn advance(&self, now: Time) -> bool

Source

fn finish(&self)

Source

fn cancel(&self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> MotionTrack for Motion<T>
where T: MotionValue + Clone + Interpolate + 'static,