Struct amethyst_config::DisplayConfig [] [src]

pub struct DisplayConfig {
    pub title: String,
    pub brightness: f64,
    pub fullscreen: bool,
    pub dimensions: (u16, u16),
    pub min_dimensions: Option<(u16, u16)>,
    pub max_dimensions: Option<(u16, u16)>,
    pub vsync: bool,
    pub multisampling: u16,
    pub visibility: bool,
    // some fields omitted
}

Fields

Methods

impl DisplayConfig
[src]

TODO: Needs documentation!

Trait Implementations

impl Clone for DisplayConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DisplayConfig
[src]

Formats the value using the given formatter.

impl Default for DisplayConfig
[src]

Returns the "default value" for a type. Read more

impl Element for DisplayConfig
[src]

TODO: Needs documentation!

TODO: Needs documentation!

TODO: Needs documentation!

TODO: Needs documentation!

TODO: Needs documentation!

From some string (should be used for top level elements if you want to embed the code)

From a file relative to current config

From a file relative to project