pub struct OwnedNativeFunction {
pub arity: usize,
pub implementation: Rc<dyn Fn(&[Real]) -> Real>,
pub name: String,
pub description: Option<String>,
}Fields§
§arity: usize§implementation: Rc<dyn Fn(&[Real]) -> Real>§name: String§description: Option<String>Trait Implementations§
Source§impl From<&NativeFunction> for OwnedNativeFunction
impl From<&NativeFunction> for OwnedNativeFunction
Source§fn from(nf: &NativeFunction) -> Self
fn from(nf: &NativeFunction) -> Self
Converts to this type from the input type.