Function use_ref_with_default

Source
pub fn use_ref_with_default<T, D>(default: D) -> Arc<T>
where T: Send + Sync + 'static, D: FnOnce() -> T,