Trait IntUtils

Source
pub trait IntUtils {
    // Required methods
    fn isqrt(self) -> Self;
    fn icbrt(self) -> Self;
    fn isin_mul(self, mul_by: Self) -> Self;
    fn icos_mul(self, mul_by: Self) -> Self;
    fn itan_mul(self, mul_by: Self) -> Self;
    fn iasin_mul(self, mul_by: Self) -> Self;
    fn iacos_mul(self, mul_by: Self) -> Self;
    fn iatan_mul(self, mul_by: Self) -> Self;
    fn iatan2_mul(self, other: Self, mul_by: Self) -> Self;
    fn itanh_mul(self, mul_by: Self) -> Self;
    fn isinh_mul(self, mul_by: Self) -> Self;
    fn icosh_mul(self, mul_by: Self) -> Self;
}

Required Methods§

Source

fn isqrt(self) -> Self

Source

fn icbrt(self) -> Self

Source

fn isin_mul(self, mul_by: Self) -> Self

Source

fn icos_mul(self, mul_by: Self) -> Self

Source

fn itan_mul(self, mul_by: Self) -> Self

Source

fn iasin_mul(self, mul_by: Self) -> Self

Source

fn iacos_mul(self, mul_by: Self) -> Self

Source

fn iatan_mul(self, mul_by: Self) -> Self

Source

fn iatan2_mul(self, other: Self, mul_by: Self) -> Self

Source

fn itanh_mul(self, mul_by: Self) -> Self

Source

fn isinh_mul(self, mul_by: Self) -> Self

Source

fn icosh_mul(self, mul_by: 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.

Implementors§

Source§

impl<T: Int + Copy + Zero + One + Two + Three + F32Fmt<F32Fmt = f32> + PartialOrd + Shr<T, Output = T> + Shl<T, Output = T> + Add<T, Output = T> + Mul<T, Output = T>> IntUtils for T