pub struct Formatter<'f, 'a> { /* private fields */ }
Implementations§
Source§impl<'f, 'a> Formatter<'f, 'a>
impl<'f, 'a> Formatter<'f, 'a>
pub fn next(&mut self) -> Result
pub fn begin(&mut self) -> Result
pub fn end(&mut self) -> Result
pub fn tab(&mut self)
pub fn backtab(&mut self)
pub fn keyword(&mut self, name: &str) -> Result
pub fn symbol(&mut self, sym: &Symbol) -> Result
pub fn pseudo_list<T: Display>(&mut self, list: &[T]) -> Result
pub fn list<T: Display>(&mut self, list: &[T]) -> Result
pub fn tabulated_list<T: Display>(&mut self, list: &[T]) -> Result
pub fn comments(&mut self, comments: &str) -> Result
Auto Trait Implementations§
impl<'f, 'a> Freeze for Formatter<'f, 'a>
impl<'f, 'a> !RefUnwindSafe for Formatter<'f, 'a>
impl<'f, 'a> !Send for Formatter<'f, 'a>
impl<'f, 'a> !Sync for Formatter<'f, 'a>
impl<'f, 'a> Unpin for Formatter<'f, 'a>
impl<'f, 'a> !UnwindSafe for Formatter<'f, 'a>
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