pub trait DistanceExt {
// Required methods
fn segment_ids(&self) -> impl Iterator<Item = ObjectId> + '_;
fn contains_segment(&self, segment_id: ObjectId) -> bool;
}Expand description
Runtime helpers for Distance.
Required Methods§
fn segment_ids(&self) -> impl Iterator<Item = ObjectId> + '_
fn contains_segment(&self, segment_id: ObjectId) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".