Struct pygmentize::HtmlFormatter
source · pub struct HtmlFormatter {
pub line_numbers: bool,
}
Expand description
Format tokens as HTML 4 <span>
tags.
See https://pygments.org/docs/formatters/#HtmlFormatter for more information.
Fields§
§line_numbers: bool
Output line numbers.
Implementations§
source§impl HtmlFormatter
impl HtmlFormatter
Trait Implementations§
source§impl Clone for HtmlFormatter
impl Clone for HtmlFormatter
source§fn clone(&self) -> HtmlFormatter
fn clone(&self) -> HtmlFormatter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HtmlFormatter
impl Debug for HtmlFormatter
source§impl Default for HtmlFormatter
impl Default for HtmlFormatter
source§impl PygmentizeFormatter for HtmlFormatter
impl PygmentizeFormatter for HtmlFormatter
Auto Trait Implementations§
impl RefUnwindSafe for HtmlFormatter
impl Send for HtmlFormatter
impl Sync for HtmlFormatter
impl Unpin for HtmlFormatter
impl UnwindSafe for HtmlFormatter
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