| 44 | // This is deserialized from the accompanying info.toml file |
| 45 | #[derive(Deserialize, Debug, Clone)] |
| 46 | pub struct Exercise { |
| 47 | // Name of the exercise |
| 48 | pub name: String, |
| 49 | // The path to the file containing the exercise's source code |
| 50 | pub path: PathBuf, |
| 51 | // The mode of the exercise (Test, Compile, or Clippy) |
| 52 | pub mode: Mode, |
| 53 | // The hint text associated with the exercise |
| 54 | pub hint: String, |
| 55 | } |
| 56 | |
| 57 | // An enum to track of the state of an Exercise. |
| 58 | // An Exercise can be either Done or Pending |
nothing calls this directly
no outgoing calls
no test coverage detected