Struct rust_rpg_toolkit::config::Config [−][src]
pub struct Config {
pub resolution: UVec2,
pub fullscreen: bool,
pub dynamic_lighting: bool,
pub post_processing: Option<String>,
pub master_volume: u8,
pub sound_effects_volume: u8,
pub music_volume: u8,
// some fields omitted
}
Fields
resolution: UVec2
fullscreen: bool
dynamic_lighting: bool
post_processing: Option<String>
master_volume: u8
sound_effects_volume: u8
music_volume: u8
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more