Trait math::Factors

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

Required Methods§

source

fn factors(self) -> impl Iterator<Item = ((Self, u32), Self)>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Factors for u8

source§

fn factors(self) -> impl Iterator<Item = ((u8, u32), u8)>

source§

impl Factors for u16

source§

fn factors(self) -> impl Iterator<Item = ((u16, u32), u16)>

source§

impl Factors for u32

source§

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

source§

impl Factors for u64

source§

fn factors(self) -> impl Iterator<Item = ((u64, u32), u64)>

source§

impl Factors for u128

source§

fn factors(self) -> impl Iterator<Item = ((u128, u32), u128)>

source§

impl Factors for usize

source§

fn factors(self) -> impl Iterator<Item = ((usize, u32), usize)>

Implementors§