pub trait GetRangeTo {
// Required method
fn get_range_to(self, other: Self) -> u32;
}
Expand description
Trait that encapsulates being able to get a standardized range value from one node to another.
Required Methods§
fn get_range_to(self, other: Self) -> u32
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.