Skip to main content

IInterpolatorTimeMethods

Trait IInterpolatorTimeMethods 

Source
pub trait IInterpolatorTimeMethods: IInterpolatorTime {
Show 15 methods // Provided methods fn ctor(self, type: impl Into<Curve_Type>, num: impl Into<i32>) { ... } fn get_time(self) -> f32 { ... } fn get_is_first(self) -> bool { ... } fn get_is_stability(self) -> bool { ... } fn get_is_next_stability(self) -> bool { ... } fn get_is_running(self) -> bool { ... } fn reset(self) { ... } fn instant(self) { ... } fn set_curve(self, type: impl Into<Curve_Type>, num: impl Into<i32>) { ... } fn set_curve_2(self, type: impl Into<Curve_Type>) { ... } fn get_rate(self) -> f32 { ... } fn get_value(self, prev: impl Into<f32>, next: impl Into<f32>) -> f32 { ... } fn set_time(self, time: impl Into<f32>) { ... } fn get_next_tick(self) -> f32 { ... } fn tick(self, is_fade_skip: impl Into<bool>) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self, type: impl Into<Curve_Type>, num: impl Into<i32>)

.ctor(crate::app::curve::Curve_Type, i32) overload

Source

fn get_time(self) -> f32

get_Time() overload

Source

fn get_is_first(self) -> bool

get_IsFirst() overload

Source

fn get_is_stability(self) -> bool

get_IsStability() overload

Source

fn get_is_next_stability(self) -> bool

get_IsNextStability() overload

Source

fn get_is_running(self) -> bool

get_IsRunning() overload

Source

fn reset(self)

Reset() overload

Source

fn instant(self)

Instant() overload

Source

fn set_curve(self, type: impl Into<Curve_Type>, num: impl Into<i32>)

SetCurve(crate::app::curve::Curve_Type, i32) overload

Source

fn set_curve_2(self, type: impl Into<Curve_Type>)

SetCurve(crate::app::curve::Curve_Type) overload

Source

fn get_rate(self) -> f32

GetRate() overload

Source

fn get_value(self, prev: impl Into<f32>, next: impl Into<f32>) -> f32

GetValue(f32, f32) overload

Source

fn set_time(self, time: impl Into<f32>)

SetTime(f32) overload

Source

fn get_next_tick(self) -> f32

get_NextTick() overload

Source

fn tick(self, is_fade_skip: impl Into<bool>) -> bool

Tick(bool) overload

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.

Implementors§

Source§

impl<__T: IInterpolatorTime> IInterpolatorTimeMethods for __T

Available on crate feature app-interpolatortime only.