Expand description
Photometric knowledge quiz engine for lighting professionals.
Pure Rust library with no UI dependencies. Designed to be FFI-safe (uniffi/PyO3) for use across TUI, Web, Desktop, iOS, Android, and Python.
Modules§
- i18n
- Self-contained i18n for quiz questions and UI strings.
Structs§
- Answer
Result - Result of answering a question.
- Category
Score - Score for a specific category.
- Difficulty
Score - Score for a specific difficulty level.
- Question
- A single quiz question with 4 multiple-choice options.
- Quiz
Bank - Static quiz bank with all available questions.
- Quiz
Config - Configuration for creating a quiz session.
- Quiz
Score - Overall quiz score with breakdowns.
- Quiz
Session - A quiz session that tracks progress and scoring.
Enums§
- Category
- Knowledge domain categories.
- Difficulty
- Difficulty level for questions.