Trait nekolib_doc::math::divisors::Divisors

source ·
pub trait Divisors: Sized {
    // Required method
    fn divisors(self) -> impl Iterator<Item = Self>;
}

Required Methods§

source

fn divisors(self) -> impl Iterator<Item = Self>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Divisors for u8

source§

fn divisors(self) -> impl Iterator<Item = u8>

source§

impl Divisors for u16

source§

fn divisors(self) -> impl Iterator<Item = u16>

source§

impl Divisors for u32

source§

fn divisors(self) -> impl Iterator<Item = u32>

source§

impl Divisors for u64

source§

fn divisors(self) -> impl Iterator<Item = u64>

source§

impl Divisors for u128

source§

fn divisors(self) -> impl Iterator<Item = u128>

source§

impl Divisors for usize

source§

fn divisors(self) -> impl Iterator<Item = usize>

Implementors§