pub fn new(name: &str, config: Option<&'a toml::value::Table>) -> Module<'a> {
        Module {
            config,
            name: name.to_string(),
            style: Style::default(),
            prefix: Affix::default_prefix(name),
            segments: Vec::new(),
            suffix: Affix::default_suffix(name),
        }
    }
/// Creates a module with no segments.
Creates a module with no segments.
Creates a module with no segments .
pub fn new(name: &str, config: Option<&'a toml::value::Table>) -> Module<'a> {
        Module {
            config,
            name: name.to_string(),
            style: Style::default(),
            prefix: Affix::default_prefix(name),
            segments: Vec::new(),
            suffix: Affix::default_suffix(name),
        }
    }
pub fn new ( name : & str , config : Option < & ' a toml :: value :: Table > ) -> Module < ' a > { Module { config , name : name . to_string ( ) , style : Style :: default ( ) , prefix : Affix :: default_prefix ( name ) , segments : Vec :: new ( ) , suffix : Affix :: default_suffix ( name ) , } }
Creates a module with no segments.
Creates a module with no segments .
name
&str
config
Option<&'a toml::value::Table>