cosmic::cosmic_theme::palette::num

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

Source§

fn exp(self) -> f32

Source§

impl Exp for f64

Source§

fn exp(self) -> f64

Implementors§