Crate workout_note_parser
source ·Expand description
This module contains the implementation of a parser for workout data.
The parser is implemented using the pest parser generator and is used to parse workout data in a custom format. The parsed data is then used to generate workout plans and track progress.
Modules
Structs
- A struct representing an exercise, actually, a single set
- Represents a set in weightlifting, consisting of a weight and the number of repetitions performed.
Enums
Functions
- Parses an exercise from a
Pair
and returns a vector ofExercise
s. - Parses a set of exercises from a
Pair
object. - Parses a workout input string and returns a vector of exercises.