Trait interpolation::Ease
[−]
[src]
pub trait Ease { fn calc(self, f: EaseFunction) -> Self; fn quadratic_in(self) -> Self; fn quadratic_out(self) -> Self; fn quadratic_in_out(self) -> Self; fn cubic_in(self) -> Self; fn cubic_out(self) -> Self; fn cubic_in_out(self) -> Self; fn quartic_in(self) -> Self; fn quartic_out(self) -> Self; fn quartic_in_out(self) -> Self; fn quintic_in(self) -> Self; fn quintic_out(self) -> Self; fn quintic_in_out(self) -> Self; fn sine_in(self) -> Self; fn sine_out(self) -> Self; fn sine_in_out(self) -> Self; fn circular_in(self) -> Self; fn circular_out(self) -> Self; fn circular_in_out(self) -> Self; fn exponential_in(self) -> Self; fn exponential_out(self) -> Self; fn exponential_in_out(self) -> Self; fn elastic_in(self) -> Self; fn elastic_out(self) -> Self; fn elastic_in_out(self) -> Self; fn back_in(self) -> Self; fn back_out(self) -> Self; fn back_in_out(self) -> Self; fn bounce_in(self) -> Self; fn bounce_out(self) -> Self; fn bounce_in_out(self) -> Self; }
Required Methods
fn calc(self, f: EaseFunction) -> Self
[−]
Calculate the eased value, normalized