pub struct Fluid {
pub name: &'static str,
pub icon: &'static str,
pub default_temperature: f64,
pub base_color: Color,
pub flow_color: Color,
pub icon_size: Option<i64>,
pub subgroup: Option<&'static str>,
pub order: Option<&'static str>,
pub hidden: Option<bool>,
}Expand description
Fields§
§name: &'static strInternal fluid prototype name.
icon: &'static strPackaged icon path.
default_temperature: f64Default temperature of the fluid.
base_color: ColorPrimary fluid color.
flow_color: ColorFlow / animation color.
icon_size: Option<i64>Icon pixel size.
subgroup: Option<&'static str>Item subgroup id.
order: Option<&'static str>Sort order string.
Hide from factoriopedia / lists when true.
Trait Implementations§
impl Copy for Fluid
impl StructuralPartialEq for Fluid
Auto Trait Implementations§
impl Freeze for Fluid
impl RefUnwindSafe for Fluid
impl Send for Fluid
impl Sync for Fluid
impl Unpin for Fluid
impl UnsafeUnpin for Fluid
impl UnwindSafe for Fluid
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