pub trait HasLength {
// Required method
fn length(&self) -> f64;
}Expand description
HasLength is a trait used for types which have a physical length
pub trait HasLength {
// Required method
fn length(&self) -> f64;
}HasLength is a trait used for types which have a physical length