pub trait Distance { // Required method fn distance(&self, other: &[f32], metric: DistanceMetric) -> f32; }