Trait stc_ts_file_analyzer::util::dashmap::DashMapExt
source · [−]pub(crate) trait DashMapExt<'a, K, V, H>where
K: 'a,
V: 'a,{
fn try_insert_default(&self, k: K)
where
V: Default;
fn try_get<F, Ret>(&self, k: &K, op: F) -> Option<Ret>
where
F: FnOnce(&V) -> Option<Ret>;
fn try_contains_key(&self, k: &K) -> bool { ... }
}
Required Methods
sourcefn try_insert_default(&self, k: K)where
fn try_insert_default(&self, k: K)where
V: Default,
Provided Methods
source