Trait Interpolatable

Source
pub trait Interpolatable
where Self: Sized + Clone,
{ // Provided method fn interpolate(&self, _other: &Self, _t: f64) -> Self { ... } }

Provided Methods§

Source

fn interpolate(&self, _other: &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 Interpolatable for bool

Source§

fn interpolate(&self, _other: &bool, _t: f64) -> bool

Source§

impl Interpolatable for char

Source§

impl Interpolatable for f64

Source§

fn interpolate(&self, other: &f64, t: f64) -> f64

Source§

impl Interpolatable for i8

Source§

fn interpolate(&self, other: &i8, t: f64) -> i8

Source§

impl Interpolatable for i16

Source§

fn interpolate(&self, other: &i16, t: f64) -> i16

Source§

impl Interpolatable for i32

Source§

fn interpolate(&self, other: &i32, t: f64) -> i32

Source§

impl Interpolatable for i64

Source§

fn interpolate(&self, other: &i64, t: f64) -> i64

Source§

impl Interpolatable for i128

Source§

fn interpolate(&self, other: &i128, t: f64) -> i128

Source§

impl Interpolatable for isize

Source§

fn interpolate(&self, other: &isize, t: f64) -> isize

Source§

impl Interpolatable for u8

Source§

fn interpolate(&self, other: &u8, t: f64) -> u8

Source§

impl Interpolatable for u16

Source§

fn interpolate(&self, other: &u16, t: f64) -> u16

Source§

impl Interpolatable for u32

Source§

fn interpolate(&self, other: &u32, t: f64) -> u32

Source§

impl Interpolatable for u64

Source§

fn interpolate(&self, other: &u64, t: f64) -> u64

Source§

impl Interpolatable for u128

Source§

fn interpolate(&self, other: &u128, t: f64) -> u128

Source§

impl Interpolatable for ()

Source§

impl Interpolatable for usize

Source§

fn interpolate(&self, other: &usize, t: f64) -> usize

Source§

impl Interpolatable for String

Source§

impl Interpolatable for Instant

Source§

impl Interpolatable for BezPath

Source§

impl<I: Interpolatable> Interpolatable for Vec<I>

Source§

fn interpolate(&self, other: &Self, t: f64) -> Self

Source§

impl<I: Interpolatable> Interpolatable for Range<I>

Source§

fn interpolate(&self, _other: &Self, _t: f64) -> Self

Source§

impl<T1: Interpolatable, T2: Interpolatable> Interpolatable for (T1, T2)

Source§

impl<T: Interpolatable> Interpolatable for Option<T>

Source§

fn interpolate(&self, other: &Self, t: f64) -> Self

Source§

impl<T: Interpolatable> Interpolatable for Weak<T>

Source§

impl<T: ?Sized + Clone> Interpolatable for VecDeque<T>

Source§

impl<T: ?Sized + Clone> Interpolatable for HashSet<T>

Source§

impl<T: ?Sized> Interpolatable for Rc<T>

Implementors§