pub struct TransitionManager<T> { /* private fields */ }Implementations§
Source§impl<T> TransitionManager<T>where
T: Interpolatable,
impl<T> TransitionManager<T>where
T: Interpolatable,
pub fn new( value: T, current_frames: u64, current_millis: u64, ) -> TransitionManager<T>
pub fn push_transition(&mut self, transition: TransitionQueueEntry<T>)
pub fn reset_transitions(&mut self, current_frames: u64, current_millis: u64)
pub fn compute_eased_value( &mut self, frames_elapsed: u64, millis_elapsed: u64, ) -> Option<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for TransitionManager<T>
impl<T> !Send for TransitionManager<T>
impl<T> !Sync for TransitionManager<T>
impl<T> !UnwindSafe for TransitionManager<T>
impl<T> Freeze for TransitionManager<T>
impl<T> Unpin for TransitionManager<T>
impl<T> UnsafeUnpin for TransitionManager<T>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.