pub struct MDBookOptions;
Implementations§
Source§impl MDBookOptions
impl MDBookOptions
Sourcepub fn generate(
self,
module: &Documentation,
) -> Result<HashMap<String, String>, RenderError>
pub fn generate( self, module: &Documentation, ) -> Result<HashMap<String, String>, RenderError>
Build html documentation for mdbook from the given module documentation struct.
Returns a hashmap with the name of the module as the key and its raw documentation as the value.
§Errors
Handlebar failed to render the variables in the module documentation.
Trait Implementations§
Source§impl Default for MDBookOptions
impl Default for MDBookOptions
Source§fn default() -> MDBookOptions
fn default() -> MDBookOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MDBookOptions
impl RefUnwindSafe for MDBookOptions
impl Send for MDBookOptions
impl Sync for MDBookOptions
impl Unpin for MDBookOptions
impl UnwindSafe for MDBookOptions
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