Struct comfy_wgpu::GameConfig
source · pub struct GameConfig {
pub game_name: &'static str,
pub version: &'static str,
pub ship: ShipConfig,
pub lighting: GlobalLightingParams,
pub lighting_enabled: bool,
pub enable_dynamic_camera: bool,
pub dev: DevConfig,
pub scroll_speed: f32,
pub music_enabled: bool,
pub show_combat_text: bool,
pub spawn_exp: bool,
}Fields§
§game_name: &'static str§version: &'static str§ship: ShipConfig§lighting: GlobalLightingParams§lighting_enabled: bool§enable_dynamic_camera: bool§dev: DevConfig§scroll_speed: f32§music_enabled: bool§show_combat_text: bool§spawn_exp: boolTrait Implementations§
source§impl Clone for GameConfig
impl Clone for GameConfig
source§fn clone(&self) -> GameConfig
fn clone(&self) -> GameConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GameConfig
impl Debug for GameConfig
source§impl Default for GameConfig
impl Default for GameConfig
source§fn default() -> GameConfig
fn default() -> GameConfig
Returns the “default value” for a type. Read more
impl Copy for GameConfig
Auto Trait Implementations§
impl RefUnwindSafe for GameConfig
impl Send for GameConfig
impl Sync for GameConfig
impl Unpin for GameConfig
impl UnwindSafe for GameConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more