Skip to main content

ChartUtilityConstants

Struct ChartUtilityConstants 

Source
pub struct ChartUtilityConstants {
Show 50 fields pub artillery_range_color: Color, pub blue_signal_color: Color, pub chart_construction_robot_color: Color, pub chart_deconstruct_active_color: Color, pub chart_deconstruct_tint: Color, pub chart_delivery_to_me_logistic_robot_color: Color, pub chart_logistic_robot_color: Color, pub chart_mobile_construction_robot_color: Color, pub chart_personal_construction_robot_color: Color, pub chart_player_circle_size: f32, pub chart_train_stop_disabled_text_color: Color, pub chart_train_stop_full_text_color: Color, pub chart_train_stop_text_color: Color, pub circuit_network_member_color: Color, pub copper_wire_color: Color, pub custom_tag_max_scale: f32, pub custom_tag_scale: f32, pub custom_tag_selected_overlay_tint: Color, pub default_color_by_type: LuaAny, pub default_enemy_color: Color, pub default_enemy_territory_color: Color, pub default_friendly_color: Color, pub default_friendly_color_by_type: LuaAny, pub disabled_switch_color: Color, pub electric_line_minimum_absolute_width: f32, pub electric_line_width: f32, pub electric_power_pole_color: Color, pub elevated_rail_color: Color, pub enabled_switch_color: Color, pub entity_ghost_color: Color, pub explosion_visualization_duration: u32, pub green_signal_color: Color, pub green_wire_color: Color, pub rail_color: Color, pub rail_ramp_color: Color, pub recipe_icon_scale: f32, pub red_signal_color: Color, pub red_wire_color: Color, pub resource_outline_selection_color: Color, pub tile_ghost_color: Color, pub train_current_path_outline_color: Color, pub train_path_color: Color, pub train_preview_path_outline_color: Color, pub turret_range_color: Color, pub vehicle_inner_color: Color, pub vehicle_outer_color: Color, pub vehicle_outer_color_selected: Color, pub vehicle_wagon_connection_color: Color, pub yellow_signal_color: Color, pub zoom_threshold_to_draw_spider_path: f64,
}

Fields§

§artillery_range_color: Color§blue_signal_color: Color§chart_construction_robot_color: Color§chart_deconstruct_active_color: Color§chart_deconstruct_tint: Color§chart_delivery_to_me_logistic_robot_color: Color§chart_logistic_robot_color: Color§chart_mobile_construction_robot_color: Color§chart_personal_construction_robot_color: Color§chart_player_circle_size: f32§chart_train_stop_disabled_text_color: Color§chart_train_stop_full_text_color: Color§chart_train_stop_text_color: Color§circuit_network_member_color: Color§copper_wire_color: Color§custom_tag_max_scale: f32§custom_tag_scale: f32§custom_tag_selected_overlay_tint: Color§default_color_by_type: LuaAny§default_enemy_color: Color§default_enemy_territory_color: Color§default_friendly_color: Color§default_friendly_color_by_type: LuaAny§disabled_switch_color: Color§electric_line_minimum_absolute_width: f32§electric_line_width: f32§electric_power_pole_color: Color§elevated_rail_color: Color§enabled_switch_color: Color§entity_ghost_color: Color§explosion_visualization_duration: u32§green_signal_color: Color§green_wire_color: Color§rail_color: Color§rail_ramp_color: Color§recipe_icon_scale: f32§red_signal_color: Color§red_wire_color: Color§resource_outline_selection_color: Color§tile_ghost_color: Color§train_current_path_outline_color: Color§train_path_color: Color§train_preview_path_outline_color: Color§turret_range_color: Color§vehicle_inner_color: Color§vehicle_outer_color: Color§vehicle_outer_color_selected: Color§vehicle_wagon_connection_color: Color§yellow_signal_color: Color§zoom_threshold_to_draw_spider_path: f64

Trait Implementations§

Source§

impl Clone for ChartUtilityConstants

Source§

fn clone(&self) -> ChartUtilityConstants

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for ChartUtilityConstants

Source§

impl Debug for ChartUtilityConstants

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ChartUtilityConstants

Source§

fn default() -> ChartUtilityConstants

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ChartUtilityConstants

Source§

fn eq(&self, other: &ChartUtilityConstants) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ChartUtilityConstants

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.