pub struct PreparedAnimation { /* private fields */ }Expand description
One-shot reservation of a prepared animation on its controller’s worker. Dropping it before start cancels without moving desktop icons.
Implementations§
Source§impl PreparedAnimation
impl PreparedAnimation
Sourcepub fn start(self) -> Result<AnimationHandle, DesktopError>
pub fn start(self) -> Result<AnimationHandle, DesktopError>
Consume the reservation and start its visual clock on the worker.
pub fn open_timeline(self) -> Result<TimelineSession, DesktopError>
Auto Trait Implementations§
impl Freeze for PreparedAnimation
impl RefUnwindSafe for PreparedAnimation
impl Send for PreparedAnimation
impl Sync for PreparedAnimation
impl Unpin for PreparedAnimation
impl UnsafeUnpin for PreparedAnimation
impl UnwindSafe for PreparedAnimation
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