pub trait Gcd<T = Self> {
type Output;
// Required method
fn gcd(&self, other: T) -> Self::Output;
}Expand description
Is implemented by Z instances to calculate the gcd
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".