Struct simd_json::prelude::generator::DumpGenerator
source · pub struct DumpGenerator { /* private fields */ }
Expand description
Simple dump Generator
Implementations§
source§impl DumpGenerator
impl DumpGenerator
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_string_content(&mut self, string: &str) -> Result<(), Error>
fn write_string_content(&mut self, string: &str) -> Result<(), Error>
writes a string Read more
source§fn write_simple_string(&mut self, string: &str) -> Result<(), Error>
fn write_simple_string(&mut self, string: &str) -> Result<(), Error>
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
source§fn write_simple_str_content(&mut self, string: &str) -> Result<(), Error>
fn write_simple_str_content(&mut self, string: &str) -> Result<(), Error>
writes a simple string content (usually short and non escaped)
This means we can skip the simd accelerated writing which is
expensive on short strings. Read more
source§impl Default for DumpGenerator
impl Default for DumpGenerator
source§fn default() -> DumpGenerator
fn default() -> DumpGenerator
Returns the “default value” for a type. 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