Struct veloren_common::recipe::RawRecipe
source · pub(crate) struct RawRecipe {
pub(crate) output: (String, u32),
pub(crate) inputs: Vec<(RawRecipeInput, u32, bool)>,
pub(crate) craft_sprite: Option<SpriteKind>,
}
Fields§
§output: (String, u32)
§inputs: Vec<(RawRecipeInput, u32, bool)>
Input required for recipe, amount of input needed, whether input should be tracked as a modular component
craft_sprite: Option<SpriteKind>
Trait Implementations§
source§impl<'de> Deserialize<'de> for RawRecipe
impl<'de> Deserialize<'de> for RawRecipe
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RawRecipe
impl Send for RawRecipe
impl Sync for RawRecipe
impl Unpin for RawRecipe
impl UnwindSafe for RawRecipe
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