summaryrefslogtreecommitdiff
path: root/built_res/src/structs/sentence.rs
blob: 270d5f7a971f80e140a4b8498388251bd75806ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
pub struct Sentence<'a> {
    pub content_tokens: &'a [&'static Token],
    pub next_sentence: Option<crate::res_sentences::SentenceId>,
}

pub enum Token {
    Text(&'static str),
    BoldText(&'static str),
    ItalicText(&'static str),
    BoldItalicText(&'static str),
    Command(&'static str),
}