Function use_memo_one

Source
pub fn use_memo_one<D: 'static + PartialEq, T: 'static>(
    func: fn(&Rc<D>) -> Rc<T>,
    dep: Rc<D>,
) -> Rc<T>