Skip to main content

Crate eulumdat_quiz

Crate eulumdat_quiz 

Source
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§

AnswerResult
Result of answering a question.
CategoryScore
Score for a specific category.
DifficultyScore
Score for a specific difficulty level.
Question
A single quiz question with 4 multiple-choice options.
QuizBank
Static quiz bank with all available questions.
QuizConfig
Configuration for creating a quiz session.
QuizScore
Overall quiz score with breakdowns.
QuizSession
A quiz session that tracks progress and scoring.

Enums§

Category
Knowledge domain categories.
Difficulty
Difficulty level for questions.