Struct client::Config
[−]
[src]
pub struct Config {
pub resolution: Dimension2u,
pub window_mode: WindowMode,
pub window_title: String,
pub tessellation: bool,
pub bloom: bool,
pub vsync: bool,
pub highlight_pillar: bool,
pub seed: u64,
}Fields
resolution: Dimension2u
window_mode: WindowMode
window_title: String
tessellation: bool
bloom: bool
vsync: bool
highlight_pillar: bool
seed: u64
Methods
impl Config[src]
fn load_config() -> Result<Config, Box<StdError>>
creates a new Config in three steps: 1. loads default config 2. Overrides from toml config file 3. Overrides from command line
Trait Implementations
impl Debug for Config[src]
impl Clone for Config[src]
fn clone(&self) -> Config
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