pub struct Documentation { /* private fields */ }
Implementations§
Source§impl Documentation
impl Documentation
pub fn new(title: &str, content: &str) -> Self
pub fn favicon(&mut self, favicon: &str, mime: FaviconMimeType) -> &mut Self
pub fn favicon_raw(&mut self, favicon: Favicon) -> &mut Self
pub fn theme(&mut self, theme: Theme) -> &mut Self
pub fn build(&self) -> Result<String, Error>
Auto Trait Implementations§
impl Freeze for Documentation
impl RefUnwindSafe for Documentation
impl Send for Documentation
impl Sync for Documentation
impl Unpin for Documentation
impl UnwindSafe for Documentation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more