pub struct VisualInterpolator;Expand description
Interpolation between two visual states
Implementations§
Source§impl VisualInterpolator
impl VisualInterpolator
Sourcepub fn interpolate(from: &VisualState, to: &VisualState, t: f32) -> VisualState
pub fn interpolate(from: &VisualState, to: &VisualState, t: f32) -> VisualState
Interpolate between two visual states
Auto Trait Implementations§
impl Freeze for VisualInterpolator
impl RefUnwindSafe for VisualInterpolator
impl Send for VisualInterpolator
impl Sync for VisualInterpolator
impl Unpin for VisualInterpolator
impl UnsafeUnpin for VisualInterpolator
impl UnwindSafe for VisualInterpolator
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