Struct libflo_module::ModuleMapper
[−]
[src]
pub struct ModuleMapper { /* fields omitted */ }
Methods
impl ModuleMapper
[src]
fn new(module_map: HashMap<String, usize>) -> Self
fn get<TName>(&self, module_name: TName) -> Result<usize> where TName: AsRef<str>
fn get_raw_map(&self) -> &HashMap<String, usize>
fn make_serde(&self) -> ModuleMapperSerde
Trait Implementations
impl Clone for ModuleMapper
[src]
fn clone(&self) -> ModuleMapper
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