pub struct Writer { /* private fields */ }Expand description
Implementations§
Source§impl Writer
impl Writer
pub fn new(format: PrintMode, prefix: Prefix) -> Self
pub fn stringizer() -> Self
pub fn is_stringizer(&self) -> bool
pub fn sanitizer() -> Self
pub fn is_sanitizer(&self) -> bool
pub fn formulizer() -> Self
pub fn is_formulizer(&self) -> bool
pub fn expressionizer() -> Self
pub fn is_expressionizer(&self) -> bool
pub fn prefix(&self) -> Prefix
pub fn print_mode(&self) -> PrintMode
pub fn write_str(&mut self, s: &str)
pub fn write_char(&mut self, c: char)
pub fn write_eol(&mut self)
pub fn write_line(&mut self, s: &str)
pub fn write_f64(&mut self, value: f64)
pub fn write_unsigned(&mut self, value: u32)
pub fn write_u64(&mut self, value: u64)
pub fn print(&mut self, text: &str)
pub fn escape(&mut self, text: &str)
pub fn quote_escape(&mut self, text: &str)
pub fn double_quote_escape(&mut self, text: &str)
pub fn write_date(&mut self, date: &DateTime)
pub fn write_bool(&mut self, state: bool)
pub fn write_prefix(&mut self, indent: isize, prefix: &Prefix, index: usize)
pub fn write_unary_op(&mut self, op: &str, unary: &dyn WriterLike)
pub fn write_binary_op( &mut self, left: &dyn WriterLike, op: &str, right: &dyn WriterLike, )
pub fn finish(self) -> String
pub fn finish_and_reuse(&mut self) -> String
Auto Trait Implementations§
impl Freeze for Writer
impl RefUnwindSafe for Writer
impl Send for Writer
impl Sync for Writer
impl Unpin for Writer
impl UnwindSafe for Writer
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