Trait Interpolatable

Source
pub trait Interpolatable: 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 PublishResponse

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 Interpolatable for PublishResponseSuccess

Source§

impl Interpolatable for ResponseError

Source§

impl Interpolatable for TemplateNodeId

Source§

impl Interpolatable for TypeId

Source§

impl Interpolatable for UniqueTemplateNodeIdentifier

Source§

impl Interpolatable for ScrollPosition

Source§

impl Interpolatable for ExpandedNode

Source§

impl Interpolatable for ExpandedNodeIdentifier

Source§

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

Source§

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

Source§

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

Source§

fn interpolate(&self, _other: &Range<I>, _t: f64) -> Range<I>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§