ExKcal.Carbs (ExKcal v0.0.8)
Carbohydrates split into subcategories.
Link to this section Summary
Types
Known SI prefixes.
Different types of carbs.
Volume of substance and unit it is represented in.
Weight of substance and unit it is represented in.
Link to this section Types
Link to this type
si_prefix()
Specs
si_prefix() :: :Y | :Z | :E | :P | :T | :G | :M | :k | :h | :da | :d | :c | :m | :μ | :n | :p | :f | :a | :z | :y
Known SI prefixes.
Specs
t() :: %ExKcal.Carbs{ dietary_fiber: weight(), other: weight(), starch: weight(), sugars: weight(), total: weight() }
Different types of carbs.
Link to this type
volume()
Specs
volume() :: {float(), :l | :dl | :ml} | {nil, :none}
Volume of substance and unit it is represented in.
Link to this type
weight()
Specs
weight() :: {float(), :kg | :g | :mg | :μg} | {nil, :none}
Weight of substance and unit it is represented in.
Link to this section Functions
Link to this function