pub trait Midpoint {
type Output;
// Required method
fn midpoint(&self, other: &Self) -> Self::Output;
}Expand description
Computes a midpoint of two types.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.