Struct fifthtry_mdbook::theme::Theme [−][src]
pub struct Theme {}Show fields
pub index: Vec<u8>, pub head: Vec<u8>, pub redirect: Vec<u8>, pub header: Vec<u8>, pub chrome_css: Vec<u8>, pub general_css: Vec<u8>, pub print_css: Vec<u8>, pub variables_css: Vec<u8>, pub favicon_png: Option<Vec<u8>>, pub favicon_svg: Option<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>,
Expand description
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 their
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>
head: Vec<u8>
redirect: Vec<u8>
header: Vec<u8>
chrome_css: Vec<u8>
general_css: Vec<u8>
print_css: Vec<u8>
variables_css: Vec<u8>
favicon_png: Option<Vec<u8>>
favicon_svg: Option<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>
Implementations
Trait Implementations
impl StructuralPartialEq for Theme
[src]
Auto Trait Implementations
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,