pub struct TimelineSession { /* private fields */ }Implementations§
Source§impl TimelineSession
impl TimelineSession
pub fn play_to( &self, position: f64, speed: f64, ) -> Result<PlaybackHandle, DesktopError>
pub fn seek(&self, position: f64) -> Result<(), DesktopError>
pub fn pause(&self) -> Result<(), DesktopError>
pub fn capture(&self) -> Result<CapturedFrame, DesktopError>
pub fn seek_and_capture( &self, position: f64, ) -> Result<CapturedFrame, DesktopError>
pub fn set_speed(&self, speed: f64) -> Result<(), DesktopError>
pub fn position(&self) -> f64
pub fn real_icons_visible(&self) -> bool
pub fn set_real_icons_visible(&self, visible: bool) -> Result<(), DesktopError>
pub fn speed(&self) -> f64
pub fn state(&self) -> TimelineState
pub fn snapshot(&self) -> Vec<IconAnimationState>
pub fn missing_icons(&self) -> Vec<IconId>
pub fn finish_reason(&self) -> Option<FinishReason>
pub fn final_commit(&self) -> Option<FinalCommitOutcome>
pub fn close( &self, mode: TimelineCloseMode, ) -> Result<FinishReason, DesktopError>
Trait Implementations§
Source§impl Drop for TimelineSession
impl Drop for TimelineSession
Auto Trait Implementations§
impl Freeze for TimelineSession
impl RefUnwindSafe for TimelineSession
impl Send for TimelineSession
impl Sync for TimelineSession
impl Unpin for TimelineSession
impl UnsafeUnpin for TimelineSession
impl UnwindSafe for TimelineSession
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