Type Alias i_slint_core::Coord
source · pub type Coord = f32;Trait Implementations§
source§impl InterpolatedPropertyValue for f32
impl InterpolatedPropertyValue for f32
source§fn interpolate(&self, target_value: &Self, t: f32) -> Self
fn interpolate(&self, target_value: &Self, t: f32) -> Self
Returns the interpolated value between self and target_value according to the
progress parameter t that’s usually between 0 and 1. With certain animation
easing curves it may over- or undershoot though.