pub struct LatexFormatter {
pub line_numbers: bool,
}Expand description
Format tokens as LaTeX code. This needs the fancyvrb
and color standard packages.
See https://pygments.org/docs/formatters/#LatexFormatter for more information.
Fields§
§line_numbers: boolOutput line numbers.
Implementations§
Trait Implementations§
Source§impl Clone for LatexFormatter
impl Clone for LatexFormatter
Source§fn clone(&self) -> LatexFormatter
fn clone(&self) -> LatexFormatter
Returns a duplicate 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 LatexFormatter
impl Debug for LatexFormatter
Source§impl Default for LatexFormatter
impl Default for LatexFormatter
Source§impl PygmentizeFormatter for LatexFormatter
impl PygmentizeFormatter for LatexFormatter
Auto Trait Implementations§
impl Freeze for LatexFormatter
impl RefUnwindSafe for LatexFormatter
impl Send for LatexFormatter
impl Sync for LatexFormatter
impl Unpin for LatexFormatter
impl UnwindSafe for LatexFormatter
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