pub struct UnlockRecipeEffect {
pub recipe: &'static str,
}Expand description
Unlock-recipe modifier (type = "unlock-recipe" injected).
Fields§
§recipe: &'static strRecipe prototype name unlocked when the technology is researched.
Trait Implementations§
Source§impl Clone for UnlockRecipeEffect
impl Clone for UnlockRecipeEffect
Source§fn clone(&self) -> UnlockRecipeEffect
fn clone(&self) -> UnlockRecipeEffect
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 UnlockRecipeEffect
Source§impl Debug for UnlockRecipeEffect
impl Debug for UnlockRecipeEffect
Source§impl Default for UnlockRecipeEffect
impl Default for UnlockRecipeEffect
Source§fn default() -> UnlockRecipeEffect
fn default() -> UnlockRecipeEffect
Returns the “default value” for a type. Read more
impl Eq for UnlockRecipeEffect
Source§impl PartialEq for UnlockRecipeEffect
impl PartialEq for UnlockRecipeEffect
impl StructuralPartialEq for UnlockRecipeEffect
Auto Trait Implementations§
impl Freeze for UnlockRecipeEffect
impl RefUnwindSafe for UnlockRecipeEffect
impl Send for UnlockRecipeEffect
impl Sync for UnlockRecipeEffect
impl Unpin for UnlockRecipeEffect
impl UnsafeUnpin for UnlockRecipeEffect
impl UnwindSafe for UnlockRecipeEffect
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