Skip to main content

Tanh

Trait Tanh 

Source
pub trait Tanh {
    type Output;

    // Required method
    fn tanh(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn tanh(self) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Tanh for f32

Source§

type Output = f32

Source§

fn tanh(self) -> <f32 as Tanh>::Output

Source§

impl Tanh for f64

Source§

type Output = f64

Source§

fn tanh(self) -> <f64 as Tanh>::Output

Implementors§