pub struct MarkdownGenerator;
Expand description
Markdown文档生成器
Trait Implementations§
Source§impl DocumentGenerator for MarkdownGenerator
impl DocumentGenerator for MarkdownGenerator
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 MarkdownGenerator
impl RefUnwindSafe for MarkdownGenerator
impl Send for MarkdownGenerator
impl Sync for MarkdownGenerator
impl Unpin for MarkdownGenerator
impl UnwindSafe for MarkdownGenerator
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