Trait RemEuclid

Source
pub trait RemEuclid {
    // Required method
    fn rem_euclid(self, rhs: Self) -> Self;
}
Expand description

A type that supports Euclidean modulo.

Required Methods§

Source

fn rem_euclid(self, rhs: Self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl RemEuclid for f32

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for f64

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for i8

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for i16

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for i32

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for i64

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for i128

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for isize

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for u8

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for u16

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for u32

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for u64

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for u128

Source§

fn rem_euclid(self, rhs: Self) -> Self

Source§

impl RemEuclid for usize

Source§

fn rem_euclid(self, rhs: Self) -> Self

Implementors§