memo
function · ferroui-view · v0.5.0
fn memo<T: PartialEq + 'static>(compute: impl Fn(Option<&T>) -> T + 'static) -> Memo<T>
Creates a memo of compute, owned by the current owner. It is computed
when it is first read; compute gets the previous value.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.