pub trait Modulo: Sized + Rem<Output = Self> {
    // Required method
    fn modulo(&self, v: &Self) -> Self;
}

Required Methods§

fn modulo(&self, v: &Self) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Modulo for i8

§

fn modulo(&self, _v: &i8) -> i8

§

impl Modulo for i16

§

fn modulo(&self, _v: &i16) -> i16

§

impl Modulo for i32

§

fn modulo(&self, _v: &i32) -> i32

§

impl Modulo for i64

§

fn modulo(&self, _v: &i64) -> i64

§

impl Modulo for i128

§

fn modulo(&self, _v: &i128) -> i128

§

impl Modulo for u8

§

fn modulo(&self, v: &u8) -> u8

§

impl Modulo for u16

§

fn modulo(&self, v: &u16) -> u16

§

impl Modulo for u32

§

fn modulo(&self, v: &u32) -> u32

§

impl Modulo for u64

§

fn modulo(&self, v: &u64) -> u64

§

impl Modulo for u128

§

fn modulo(&self, v: &u128) -> u128

Implementors§