from_fn

Function from_fn 

Source
pub fn from_fn<'gc, F, R>(f: F) -> SequenceFn<F>
where F: 'static + FnOnce(MutationContext<'gc, '_>) -> R,