ori::core::views

Function memo

Source
pub fn memo<T, V, D>(
    data: D,
    build: impl FnOnce(&mut T) -> V + 'static,
) -> Memo<T, V, D>
where V: View<T>, D: PartialEq,
Expand description

Create a new Memo.