Skip to main content

Exp

Trait Exp 

Source
pub trait Exp {
    // Required method
    fn exp(self) -> Self;
}
Expand description

Methods for calculating e ^ x,

Required Methods§

Source

fn exp(self) -> Self

Return e ^ 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 Exp for f32

Available on crate feature std, or non-crate feature libm only.
Source§

fn exp(self) -> f32

Source§

impl Exp for f64

Available on crate feature std, or non-crate feature libm only.
Source§

fn exp(self) -> f64

Implementors§