pub struct DumpGenerator { /* private fields */ }
Expand description
Simple dump Generator
Implementations§
Trait Implementations§
source§impl BaseGenerator for DumpGenerator
impl BaseGenerator for DumpGenerator
source§fn get_writer(&mut self) -> &mut Vec<u8>
fn get_writer(&mut self) -> &mut Vec<u8>
returns the writer
source§fn write_simple_string(&mut self, string: &str) -> Result<()>
fn write_simple_string(&mut self, string: &str) -> Result<()>
writes a simple string (usually short and non escaped)
This means we can skip the simd accelerated writing which is
expensive on short strings. Read more
Auto Trait Implementations§
impl Freeze for DumpGenerator
impl RefUnwindSafe for DumpGenerator
impl Send for DumpGenerator
impl Sync for DumpGenerator
impl Unpin for DumpGenerator
impl UnwindSafe for DumpGenerator
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