Interpolatable

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 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 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§

Source§

impl Interpolatable for Color

Source§

impl Interpolatable for ComboBoxItemClickEvent

Source§

impl Interpolatable for Fill

Source§

impl Interpolatable for Font

Source§

impl Interpolatable for FontStyle

Source§

impl Interpolatable for FontWeight

Source§

impl Interpolatable for ImageFit

Source§

impl Interpolatable for ImageSource

Source§

impl Interpolatable for NewItem

Source§

impl Interpolatable for Numeric

Source§

impl Interpolatable for PathElement

Source§

impl Interpolatable for PaxValue

Source§

impl Interpolatable for ResizableDirection

Source§

impl Interpolatable for Rotation

Source§

impl Interpolatable for Size

Source§

impl Interpolatable for StackerDirection

Source§

impl Interpolatable for Target

Source§

impl Interpolatable for TextAlignHorizontal

Source§

impl Interpolatable for TextAlignVertical

Source§

impl Interpolatable for PublishResponse

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 ExpandedNode

Source§

impl Interpolatable for ExpandedNodeIdentifier

Source§

impl Interpolatable for LayoutProperties

Source§

impl Interpolatable for ScrollPosition

Source§

impl Interpolatable for BlankComponent

Source§

impl Interpolatable for Button

Source§

impl Interpolatable for CarouselCell

Source§

impl Interpolatable for Cell

Source§

impl Interpolatable for Checkbox

Source§

impl Interpolatable for Col

Source§

impl Interpolatable for ComboBox

Source§

impl Interpolatable for ComboBoxListItem

Source§

impl Interpolatable for ConfirmationDialog

Source§

impl Interpolatable for Dropdown

Source§

impl Interpolatable for Ellipse

Source§

impl Interpolatable for EventBlocker

Source§

impl Interpolatable for Frame

Source§

impl Interpolatable for Group

Source§

impl Interpolatable for Image

Source§

impl Interpolatable for ListItemData

Source§

impl Interpolatable for NativeImage

Source§

impl Interpolatable for NodeInterface

Source§

impl Interpolatable for Path

Source§

impl Interpolatable for PathClose

Source§

impl Interpolatable for PathCurve

Source§

impl Interpolatable for PathLine

Source§

impl Interpolatable for PathPoint

Source§

impl Interpolatable for Percent

Source§

impl Interpolatable for PlatformSpecificScrollParams

Source§

impl Interpolatable for Point

Source§

impl Interpolatable for RadioSet

Source§

impl Interpolatable for Rectangle

Source§

impl Interpolatable for RectangleCornerRadii

Source§

impl Interpolatable for Resizable

Source§

impl Interpolatable for Row

Source§

impl Interpolatable for Scrollbar

Source§

impl Interpolatable for Scroller

Source§

impl Interpolatable for Section

Source§

impl Interpolatable for Slider

Source§

impl Interpolatable for Span

Source§

impl Interpolatable for Stacker

Source§

impl Interpolatable for StackerCell

Source§

impl Interpolatable for Stroke

Source§

impl Interpolatable for Table

Source§

impl Interpolatable for Tabs

Source§

impl Interpolatable for Text

Source§

impl Interpolatable for TextStyle

Source§

impl Interpolatable for Textbox

Source§

impl Interpolatable for Toast

Source§

impl Interpolatable for Tooltip

Source§

impl Interpolatable for Transform2D

Source§

impl Interpolatable for Viewport

Source§

impl Interpolatable for YoutubeVideo

Source§

impl<F, T> Interpolatable for TransformAndBounds<F, T>
where F: Space, T: Space,

Properties that are currently re-computed each frame before rendering.

Source§

impl<T> Interpolatable for Property<T>
where T: PropertyValue,

Source§

impl<W> Interpolatable for Point2<W>
where W: Space,

Source§

impl<W> Interpolatable for Vector2<W>
where W: Space,

Source§

impl<W, T> Interpolatable for Transform2<W, T>
where W: Space, T: Space,