pub struct TexFormatter { /* private fields */ }Expand description
TeX 语言的格式化器
Implementations§
Source§impl TexFormatter
impl TexFormatter
pub fn new(config: FormatConfig) -> Self
pub fn format( &mut self, root: &RedNode<'_, TexLanguage>, source: &str, ) -> FormatResult<FormatOutput>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TexFormatter
impl !RefUnwindSafe for TexFormatter
impl !Send for TexFormatter
impl !Sync for TexFormatter
impl Unpin for TexFormatter
impl !UnwindSafe for TexFormatter
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