Trait nekolib_doc::math::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: u8) -> u8

source§

impl Gcd for u16

source§

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

source§

impl Gcd for u32

source§

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

source§

impl Gcd for u64

source§

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

source§

impl Gcd for u128

source§

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

source§

impl Gcd for usize

source§

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

Implementors§