pub struct ThermalPart {
pub id: &'static str,
pub kind: &'static str,
pub owner_key: &'static str,
pub scene_part: &'static str,
pub scene_index: usize,
}Expand description
A part that warms with one of the machine’s loss powers, power.<id>, with effects.part_heating: of which kind
(THERMAL_KINDS), who it belongs to as a translation key, and which part of the scene shows it: the
scene_index-th part with the id scene_part.
Fields§
§id: &'static str§kind: &'static str§owner_key: &'static str§scene_part: &'static str§scene_index: usizeTrait Implementations§
Source§impl Clone for ThermalPart
impl Clone for ThermalPart
Source§fn clone(&self) -> ThermalPart
fn clone(&self) -> ThermalPart
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 moreSource§impl Debug for ThermalPart
impl Debug for ThermalPart
Source§impl Default for ThermalPart
impl Default for ThermalPart
Source§fn default() -> ThermalPart
fn default() -> ThermalPart
Returns the “default value” for a type. Read more
Source§impl PartialEq for ThermalPart
impl PartialEq for ThermalPart
Source§fn eq(&self, other: &ThermalPart) -> bool
fn eq(&self, other: &ThermalPart) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThermalPart
Auto Trait Implementations§
impl Freeze for ThermalPart
impl RefUnwindSafe for ThermalPart
impl Send for ThermalPart
impl Sync for ThermalPart
impl Unpin for ThermalPart
impl UnsafeUnpin for ThermalPart
impl UnwindSafe for ThermalPart
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