Struct appscraps_module::util::ModuleMap
[−]
[src]
pub struct ModuleMap { /* fields omitted */ }
Methods
impl ModuleMap
[src]
fn new(name_to_index_map: BTreeMap<String, usize>) -> Self
fn get_index<TName>(&self, module_name: TName) -> Result<usize> where
TName: AsRef<str>,
TName: AsRef<str>,
fn get_data(&self) -> &BTreeMap<String, usize>
Trait Implementations
impl Clone for ModuleMap
[src]
fn clone(&self) -> ModuleMap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more