[][src]Trait cranelift_codegen_meta::default_map::MapWithDefault

pub(crate) trait MapWithDefault<K, V: Default> {
    pub(crate) fn get_or_default(&mut self, k: K) -> &mut V;
}

Required methods

pub(crate) fn get_or_default(&mut self, k: K) -> &mut V[src]

Loading content...

Implementations on Foreign Types

impl<K: Eq + Hash, V: Default> MapWithDefault<K, V> for HashMap<K, V>[src]

Loading content...

Implementors

Loading content...