[][src]Function glsp::named_rfn

pub fn named_rfn(name: Sym, wrapped_fn: WrappedFn) -> RFn

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.