Struct mdbook::theme::Theme [] [src]

pub struct Theme {
    pub index: Vec<u8>,
    pub css: Vec<u8>,
    pub favicon: Vec<u8>,
    pub js: Vec<u8>,
    pub highlight_css: Vec<u8>,
    pub tomorrow_night_css: Vec<u8>,
    pub highlight_js: Vec<u8>,
    pub jquery: Vec<u8>,
}

The Theme struct should be used instead of the static variables because the new() method will look if the user has a theme directory in his source folder and use the users theme instead of the default.

You should exceptionnaly use the static variables only if you need the default theme even if the user has specified another theme.

Fields

Methods

impl Theme
[src]