pub trait Logarithm<T> {
    type Output;

    // Required method
    fn log(self, base: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn log(self, base: T) -> Self::Output

Implementations on Foreign Types§

source§

impl Logarithm<f32> for f32

§

type Output = f32

source§

fn log(self, base: f32) -> Self::Output

source§

impl Logarithm<f64> for f64

§

type Output = f64

source§

fn log(self, base: f64) -> Self::Output

source§

impl Logarithm<i8> for i8

§

type Output = u32

source§

fn log(self, base: i8) -> Self::Output

source§

impl Logarithm<i16> for i16

§

type Output = u32

source§

fn log(self, base: i16) -> Self::Output

source§

impl Logarithm<i32> for i32

§

type Output = u32

source§

fn log(self, base: i32) -> Self::Output

source§

impl Logarithm<i64> for i64

§

type Output = u32

source§

fn log(self, base: i64) -> Self::Output

source§

impl Logarithm<i128> for i128

§

type Output = u32

source§

fn log(self, base: i128) -> Self::Output

source§

impl Logarithm<isize> for isize

§

type Output = u32

source§

fn log(self, base: isize) -> Self::Output

source§

impl Logarithm<u8> for u8

§

type Output = u32

source§

fn log(self, base: u8) -> Self::Output

source§

impl Logarithm<u16> for u16

§

type Output = u32

source§

fn log(self, base: u16) -> Self::Output

source§

impl Logarithm<u32> for u32

§

type Output = u32

source§

fn log(self, base: u32) -> Self::Output

source§

impl Logarithm<u64> for u64

§

type Output = u32

source§

fn log(self, base: u64) -> Self::Output

source§

impl Logarithm<u128> for u128

§

type Output = u32

source§

fn log(self, base: u128) -> Self::Output

source§

impl Logarithm<usize> for usize

§

type Output = u32

source§

fn log(self, base: usize) -> Self::Output

Implementors§