[−][src]Function glsp_engine::named_rfn
pub fn named_rfn<ArgsWithTag, Ret, F>(name: Sym, f: F) -> Root<RFn>ⓘ 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
.