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