[][src]Function glsp_engine::named_rfn

pub fn named_rfn<ArgsWithTag, Ret, F>(name: Sym, f: F) -> Root<RFn>

Notable traits for Root<GIter>

impl Iterator for Root<GIter> type Item = GResult<Val>;
where
    Wrapper<ArgsWithTag, Ret, F>: WrappedCall + 'static, 

Creates a GameLisp value which represents a Rust function, with a name.

This is equivalent to glsp::rfn, but (fn-name rfn) will return the given symbol, rather than returning #n.