Skip to main content

GammaFunction

Trait GammaFunction 

Source
pub trait GammaFunction {
    // Required method
    fn call(&self, x: f64) -> f64;
}
Expand description

Trait for gamma correction functions. Port of C++ gamma function objects (operator() overload).

Required Methods§

Source

fn call(&self, x: f64) -> f64

Implementors§