Skip to main content

TweenAnim

Trait TweenAnim 

Source
pub trait TweenAnim {
    // Required method
    fn tween(start: &Self, end: &Self, t: f64) -> Self;
}

Required Methods§

Source

fn tween(start: &Self, end: &Self, t: f64) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TweenAnim for f32

Source§

fn tween(start: &f32, end: &f32, t: f64) -> f32

Source§

impl TweenAnim for f64

Source§

fn tween(start: &f64, end: &f64, t: f64) -> f64

Source§

impl TweenAnim for i8

Source§

fn tween(start: &i8, end: &i8, t: f64) -> i8

Source§

impl TweenAnim for i16

Source§

fn tween(start: &i16, end: &i16, t: f64) -> i16

Source§

impl TweenAnim for i32

Source§

fn tween(start: &i32, end: &i32, t: f64) -> i32

Source§

impl TweenAnim for i64

Source§

fn tween(start: &i64, end: &i64, t: f64) -> i64

Source§

impl TweenAnim for isize

Source§

fn tween(start: &isize, end: &isize, t: f64) -> isize

Source§

impl TweenAnim for u8

Source§

fn tween(start: &u8, end: &u8, t: f64) -> u8

Source§

impl TweenAnim for u16

Source§

fn tween(start: &u16, end: &u16, t: f64) -> u16

Source§

impl TweenAnim for u32

Source§

fn tween(start: &u32, end: &u32, t: f64) -> u32

Source§

impl TweenAnim for u64

Source§

fn tween(start: &u64, end: &u64, t: f64) -> u64

Source§

impl TweenAnim for usize

Source§

fn tween(start: &usize, end: &usize, t: f64) -> usize

Source§

impl TweenAnim for String

Source§

fn tween(start: &String, end: &String, t: f64) -> String

Implementors§