1use crate::Function; 2 3impl Function { 4 pub fn call(&self, x: f64) -> f64 { 5 self.elementary().clone().call()(x) 6 } 7}