ExKcal.Carbs (ExKcal v0.0.5)

Carbohydrates split into subcategories.

Link to this section Summary

Types

t()

Different types of carbs.

Amount of substance and unit it is represented in.

Link to this section Types

Specs

t() :: %ExKcal.Carbs{
  dietary_fiber: weight(),
  other: weight(),
  starch: weight(),
  sugars: weight(),
  total: weight()
}

Different types of carbs.

Specs

volume() :: {float(), :l | :dl | :ml} | {nil, :none}

Specs

weight() :: {float(), :kg | :g | :mg | :μg} | {nil, :none}

Amount of substance and unit it is represented in.