pub struct LaTeXFormatter { /* private fields */ }Expand description
LaTeX 格式化器
Implementations§
Trait Implementations§
Source§impl Default for LaTeXFormatter
impl Default for LaTeXFormatter
Source§impl Formatter for LaTeXFormatter
impl Formatter for LaTeXFormatter
Source§fn format(&self, expr: &Expression) -> String
fn format(&self, expr: &Expression) -> String
将表达式格式化为字符串
Source§fn set_options(&mut self, options: FormatOptions)
fn set_options(&mut self, options: FormatOptions)
设置输出格式选项
Auto Trait Implementations§
impl Freeze for LaTeXFormatter
impl RefUnwindSafe for LaTeXFormatter
impl Send for LaTeXFormatter
impl Sync for LaTeXFormatter
impl Unpin for LaTeXFormatter
impl UnsafeUnpin 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
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