pub enum TickOutcome {
Value(f32),
Finished,
Idle,
}Expand description
tick() 的推进结果
Variants§
Value(f32)
产生新插值(controller 已按 now_ms 推进)
Finished
本轮(含重复)播放完成,不再产生新值
Idle
未在播放(Dismissed / Completed),无值
Trait Implementations§
Source§impl Clone for TickOutcome
impl Clone for TickOutcome
impl Copy for TickOutcome
Source§impl Debug for TickOutcome
impl Debug for TickOutcome
Source§impl PartialEq for TickOutcome
impl PartialEq for TickOutcome
impl StructuralPartialEq for TickOutcome
Auto Trait Implementations§
impl Freeze for TickOutcome
impl RefUnwindSafe for TickOutcome
impl Send for TickOutcome
impl Sync for TickOutcome
impl Unpin for TickOutcome
impl UnsafeUnpin for TickOutcome
impl UnwindSafe for TickOutcome
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