Crate ingredient[][src]

Structs

Amount

Holds a unit and value pair for an ingredient.

Ingredient

Holds a name, list of Amount, and optional modifier string

Functions

from_str

wrapper for parse_ingredient

parse_ingredient

Parse an ingredient line item, such as 120 grams / 1 cup whole wheat flour, sifted lightly into a Ingredient. [ingredient] can be used as a wrapper to return verbose errors.