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

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

Required methods

fn get_or_default(&mut self, k: K) -> &mut V

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...