Skip to main content

fn_symbol

Function fn_symbol 

Source
pub fn fn_symbol() -> Symbol
Expand description

Returns the symbol bound to the fn function-builder callable.

ยงExamples

use sim_lib_numbers_func::{call_symbol, fn_symbol, grad_symbol};

assert_eq!(fn_symbol().to_string(), "fn");
assert_eq!(call_symbol().to_string(), "call");
assert_eq!(grad_symbol().to_string(), "grad");