rc_coerce

Function rc_coerce 

Source
pub fn rc_coerce<T: Clone, U: Clone>(
    f: Rc<impl Fn(T) -> U>,
) -> Rc<impl Fn(Rc<T>) -> Rc<U>>