pub struct Ingredient {
pub amount: f64,
pub ignored_by_stats: LuaAny,
pub name: &'static str,
pub type: IngredientType,
}Fields§
§amount: f64§ignored_by_stats: LuaAny§name: &'static str§type: IngredientTypeTrait Implementations§
Source§impl Clone for Ingredient
impl Clone for Ingredient
Source§fn clone(&self) -> Ingredient
fn clone(&self) -> Ingredient
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 Ingredient
Source§impl Debug for Ingredient
impl Debug for Ingredient
Source§impl Default for Ingredient
impl Default for Ingredient
Source§fn default() -> Ingredient
fn default() -> Ingredient
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ingredient
impl PartialEq for Ingredient
impl StructuralPartialEq for Ingredient
Auto Trait Implementations§
impl Freeze for Ingredient
impl RefUnwindSafe for Ingredient
impl Send for Ingredient
impl Sync for Ingredient
impl Unpin for Ingredient
impl UnsafeUnpin for Ingredient
impl UnwindSafe for Ingredient
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