pub struct MarkdownFormatter { /* private fields */ }
Expand description
Formatter that outputs standard Markdown format
Implementations§
Trait Implementations§
Source§impl Default for MarkdownFormatter
impl Default for MarkdownFormatter
Source§impl DigestFormatter for MarkdownFormatter
impl DigestFormatter for MarkdownFormatter
Source§fn render_header(&mut self, data: &DigestData<'_>) -> Result<()>
fn render_header(&mut self, data: &DigestData<'_>) -> Result<()>
Render the document header
Source§fn render_statistics(&mut self, data: &DigestData<'_>) -> Result<()>
fn render_statistics(&mut self, data: &DigestData<'_>) -> Result<()>
Render statistics section
Source§fn render_file_tree(&mut self, data: &DigestData<'_>) -> Result<()>
fn render_file_tree(&mut self, data: &DigestData<'_>) -> Result<()>
Render file tree structure
Source§fn render_toc(&mut self, data: &DigestData<'_>) -> Result<()>
fn render_toc(&mut self, data: &DigestData<'_>) -> Result<()>
Render table of contents
Source§fn render_file_details(
&mut self,
file: &FileInfo,
data: &DigestData<'_>,
) -> Result<()>
fn render_file_details( &mut self, file: &FileInfo, data: &DigestData<'_>, ) -> Result<()>
Render details for a single file
Source§fn format_name(&self) -> &'static str
fn format_name(&self) -> &'static str
Get the format name (for testing)
Auto Trait Implementations§
impl Freeze for MarkdownFormatter
impl RefUnwindSafe for MarkdownFormatter
impl Send for MarkdownFormatter
impl Sync for MarkdownFormatter
impl Unpin for MarkdownFormatter
impl UnwindSafe for MarkdownFormatter
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more