pub fn new(config: &Config) -> Self {
        Self {
            config: config.clone(),
            langs: Vec::new(),
        }
    }
/// Create a new Languages object using a configuration.
///
/// # Example
/// ```rust, ignore
/// use languages_rs::{Config, Languages};
///
/// let config = Config::default().unwrap();
/// let texts = Languages::new(&config);
/// ```
Create a new Languages object using a configuration.
Create a new Languages object using a configuration .
pub fn new(config: &Config) -> Self {
        Self {
            config: config.clone(),
            langs: Vec::new(),
        }
    }
pub fn new ( config : & Config ) -> Self { Self { config : config . clone ( ) , langs : Vec :: new ( ) , } }
Create a new Languages object using a configuration.
Create a new Languages object using a configuration .
config
&Config
config
&Config
example
```rust, ignore
use languages_rs::{Config, Languages}.

let config = Config::default().unwrap();
let texts = Languages::new(&config);
```
` ` ` rust ignore use languages_rs :: { Config Languages } . let config = Config :: default () . unwrap () ; let texts = Languages :: new ( &config ) ; ` ` `