moodle_xml/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![doc = include_str!("../README.md")]
pub mod answer;
pub mod question;
pub mod quiz;
mod xml_util;

/// A prelude containing the esstential types
pub mod prelude {
    pub use crate::{
        answer::Answer,
        question::{
            EssayQuestion, MultiChoiceQuestion, Question, QuestionType, ShortAnswerQuestion,
            TextFormat, TrueFalseQuestion,
        },
        quiz::{Category, Quiz, QuizError},
    };
}