Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod method;
pub use method::*;

use {
	super::{Ingredient, Recipe},
	crate::Value,
};

impl<T: Into<Value>> From<T> for Recipe {
	fn from(value: T) -> Recipe {
		Recipe::Ingredient(Ingredient::Value(value.into()))
	}
}