pub struct XmlFormatter { /* private fields */ }
Expand description
Formatter that outputs XML format
Implementations§
Source§impl XmlFormatter
impl XmlFormatter
Trait Implementations§
Source§impl Default for XmlFormatter
impl Default for XmlFormatter
Source§impl DigestFormatter for XmlFormatter
impl DigestFormatter for XmlFormatter
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 XmlFormatter
impl RefUnwindSafe for XmlFormatter
impl Send for XmlFormatter
impl Sync for XmlFormatter
impl Unpin for XmlFormatter
impl UnwindSafe for XmlFormatter
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