Trait gcd::Gcd
[−]
[src]
pub trait Gcd { fn gcd(self, other: Self) -> Self; }
Required Methods
fn gcd(self, other: Self) -> Self
Determine greatest common divisor using the Euclidean algorithm
Implementors
impl Gcd for u8
impl Gcd for u16
impl Gcd for u32
impl Gcd for u64
impl Gcd for usize