pub struct FluidProduct {
pub amount: f64,
pub amount_max: f64,
pub amount_min: f64,
pub fluidbox_index: u32,
pub ignored_by_productivity: f64,
pub ignored_by_stats: f64,
pub independent_probability: f64,
pub name: &'static str,
pub shared_probability: SharedProbabilityDefinition,
pub temperature: f32,
pub type: &'static str,
}Fields§
§amount: f64§amount_max: f64§amount_min: f64§fluidbox_index: u32§ignored_by_productivity: f64§ignored_by_stats: f64§independent_probability: f64§name: &'static str§temperature: f32§type: &'static strTrait Implementations§
Source§impl Clone for FluidProduct
impl Clone for FluidProduct
Source§fn clone(&self) -> FluidProduct
fn clone(&self) -> FluidProduct
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 FluidProduct
Source§impl Debug for FluidProduct
impl Debug for FluidProduct
Source§impl Default for FluidProduct
impl Default for FluidProduct
Source§fn default() -> FluidProduct
fn default() -> FluidProduct
Returns the “default value” for a type. Read more
Source§impl From<FluidProduct> for Product
impl From<FluidProduct> for Product
Source§fn from(value: FluidProduct) -> Self
fn from(value: FluidProduct) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FluidProduct
impl PartialEq for FluidProduct
impl StructuralPartialEq for FluidProduct
Auto Trait Implementations§
impl Freeze for FluidProduct
impl RefUnwindSafe for FluidProduct
impl Send for FluidProduct
impl Sync for FluidProduct
impl Unpin for FluidProduct
impl UnsafeUnpin for FluidProduct
impl UnwindSafe for FluidProduct
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