pub type Ratio = Ratio<NonNegativeNumber>;Expand description
A computed
Aliased Type§
#[repr(C)]pub struct Ratio(pub NonNegative<f32>, pub NonNegative<f32>);Tuple Fields§
§0: NonNegative<f32>§1: NonNegative<f32>Implementations§
Trait Implementations§
Source§impl ComputeSquaredDistance for Ratio
impl ComputeSquaredDistance for Ratio
Source§fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
Computes the squared distance between two animatable values.