pub struct CompactFormatter;
Trait Implementations§
source§impl<W: Write> Formatter<W> for CompactFormatter
impl<W: Write> Formatter<W> for CompactFormatter
fn write_number<N>(&mut self, writer: &mut W, value: N) -> Result<()>
fn write_bool(&mut self, writer: &mut W, value: bool) -> Result<()>
fn write_null(&mut self, writer: &mut W) -> Result<()>
fn write_str(&mut self, writer: &mut W, value: &str) -> Result<()>
fn write_object_start(&mut self, writer: &mut W) -> Result<()>
fn write_object_end(&mut self, writer: &mut W) -> Result<()>
fn write_array_start(&mut self, writer: &mut W) -> Result<()>
fn write_array_end(&mut self, writer: &mut W) -> Result<()>
fn write_array_element_begin( &mut self, writer: &mut W, first: bool, ) -> Result<()>
fn write_array_element_end(&mut self, _writer: &mut W) -> Result<()>
fn write_object_key_begin(&mut self, writer: &mut W, first: bool) -> Result<()>
fn write_object_key_end(&mut self, _writer: &mut W) -> Result<()>
fn write_object_value_begin(&mut self, writer: &mut W) -> Result<()>
fn write_object_value_end(&mut self, _writer: &mut W) -> Result<()>
Auto Trait Implementations§
impl Freeze for CompactFormatter
impl RefUnwindSafe for CompactFormatter
impl Send for CompactFormatter
impl Sync for CompactFormatter
impl Unpin for CompactFormatter
impl UnwindSafe for CompactFormatter
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