pub struct HtmlGenerator;
Expand description
HTML文档生成器
Trait Implementations§
Source§impl DocumentGenerator for HtmlGenerator
impl DocumentGenerator for HtmlGenerator
Source§fn generate<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
content: &'life1 str,
metadata: &'life2 ProjectMetadata,
config: &'life3 Config,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn generate<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
content: &'life1 str,
metadata: &'life2 ProjectMetadata,
config: &'life3 Config,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
生成文档
Auto Trait Implementations§
impl Freeze for HtmlGenerator
impl RefUnwindSafe for HtmlGenerator
impl Send for HtmlGenerator
impl Sync for HtmlGenerator
impl Unpin for HtmlGenerator
impl UnwindSafe for HtmlGenerator
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