pub struct GameViewSettings {Show 18 fields
pub hide_tall_entities: bool,
pub show_alert_gui: bool,
pub show_controller_gui: bool,
pub show_crafting_queue: bool,
pub show_entity_info: bool,
pub show_entity_tooltip: bool,
pub show_hotkey_suggestions: bool,
pub show_map_view_options: bool,
pub show_minimap: bool,
pub show_pins_gui: bool,
pub show_quickbar: bool,
pub show_rail_block_visualisation: bool,
pub show_research_info: bool,
pub show_shortcut_bar: bool,
pub show_side_menu: bool,
pub show_surface_list: bool,
pub show_tool_bar: bool,
pub update_entity_selection: bool,
}Expand description
Parameters that affect the look and control of the game. Updating any of the member attributes here will immediately take effect in the game engine.
Fields§
§hide_tall_entities: bool§show_alert_gui: bool§show_controller_gui: bool§show_crafting_queue: bool§show_entity_info: bool§show_entity_tooltip: bool§show_hotkey_suggestions: bool§show_map_view_options: bool§show_minimap: bool§show_pins_gui: bool§show_quickbar: bool§show_rail_block_visualisation: bool§show_research_info: bool§show_shortcut_bar: bool§show_surface_list: bool§show_tool_bar: bool§update_entity_selection: boolTrait Implementations§
Source§impl Clone for GameViewSettings
impl Clone for GameViewSettings
Source§fn clone(&self) -> GameViewSettings
fn clone(&self) -> GameViewSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GameViewSettings
Source§impl Debug for GameViewSettings
impl Debug for GameViewSettings
Source§impl Default for GameViewSettings
impl Default for GameViewSettings
Source§fn default() -> GameViewSettings
fn default() -> GameViewSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for GameViewSettings
impl PartialEq for GameViewSettings
impl StructuralPartialEq for GameViewSettings
Auto Trait Implementations§
impl Freeze for GameViewSettings
impl RefUnwindSafe for GameViewSettings
impl Send for GameViewSettings
impl Sync for GameViewSettings
impl Unpin for GameViewSettings
impl UnsafeUnpin for GameViewSettings
impl UnwindSafe for GameViewSettings
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