Function use_memo

Source
pub fn use_memo<T: 'static + PartialEq>(
    callback: impl FnMut() -> T + 'static,
) -> Memo<T>