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 ayu_highlight_css: Vec<u8>, pub highlight_js: Vec<u8>, pub clipboard_js: Vec<u8>, pub store_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 only ever use the static variables directly if you want to override the user's theme with the defaults.
Fields
index: Vec<u8>
css: Vec<u8>
favicon: Vec<u8>
js: Vec<u8>
highlight_css: Vec<u8>
tomorrow_night_css: Vec<u8>
ayu_highlight_css: Vec<u8>
highlight_js: Vec<u8>
clipboard_js: Vec<u8>
store_js: Vec<u8>
jquery: Vec<u8>
Methods
impl Theme
[src]
Trait Implementations
impl Debug for Theme
[src]
impl PartialEq for Theme
[src]
fn eq(&self, __arg_0: &Theme) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Theme) -> bool
This method tests for !=
.