pub struct TimelinePlayer { /* private fields */ }Expand description
Timeline player for real-time interpolation
Implementations§
Source§impl TimelinePlayer
impl TimelinePlayer
Sourcepub fn new(timeline: TimelineData) -> Self
pub fn new(timeline: TimelineData) -> Self
Create a new timeline player
Sourcepub fn state(&self) -> PlaybackState
pub fn state(&self) -> PlaybackState
Get current playback state
Sourcepub fn loop_count(&self) -> u32
pub fn loop_count(&self) -> u32
Get current loop count
Trait Implementations§
Source§impl Clone for TimelinePlayer
impl Clone for TimelinePlayer
Source§fn clone(&self) -> TimelinePlayer
fn clone(&self) -> TimelinePlayer
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 TimelinePlayer
impl RefUnwindSafe for TimelinePlayer
impl Send for TimelinePlayer
impl Sync for TimelinePlayer
impl Unpin for TimelinePlayer
impl UnsafeUnpin for TimelinePlayer
impl UnwindSafe for TimelinePlayer
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