Trait gcd::Gcd

source ·
pub trait Gcd {
    // Required method
    fn gcd(self, other: Self) -> Self;
}

Required Methods§

source

fn gcd(self, other: Self) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Gcd for u8

source§

fn gcd(self, other: Self) -> Self

source§

impl Gcd for u16

source§

fn gcd(self, other: Self) -> Self

source§

impl Gcd for u32

source§

fn gcd(self, other: Self) -> Self

source§

impl Gcd for u64

source§

fn gcd(self, other: Self) -> Self

source§

impl Gcd for u128

source§

fn gcd(self, other: Self) -> Self

source§

impl Gcd for usize

source§

fn gcd(self, other: Self) -> Self

Implementors§