Struct simd_json::value::generator::DumpGenerator
source · pub struct DumpGenerator<VT>where
VT: Value,{ /* private fields */ }
Expand description
Simple dump Generator
Implementations§
source§impl<VT> DumpGenerator<VT>where
VT: Value,
impl<VT> DumpGenerator<VT>where VT: Value,
Trait Implementations§
source§impl<VT> BaseGenerator for DumpGenerator<VT>where
VT: Value,
impl<VT> BaseGenerator for DumpGenerator<VT>where VT: Value,
source§fn write_string_complex(
&mut self,
string: &[u8],
start: usize
) -> Result<(), Error>
fn write_string_complex( &mut self, string: &[u8], start: usize ) -> Result<(), Error>
Writes a string with escape sequences Read more
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<VT> Default for DumpGenerator<VT>where
VT: Value,
impl<VT> Default for DumpGenerator<VT>where VT: Value,
source§fn default() -> DumpGenerator<VT>
fn default() -> DumpGenerator<VT>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<VT> RefUnwindSafe for DumpGenerator<VT>where VT: RefUnwindSafe,
impl<VT> Send for DumpGenerator<VT>where VT: Send,
impl<VT> Sync for DumpGenerator<VT>where VT: Sync,
impl<VT> Unpin for DumpGenerator<VT>where VT: Unpin,
impl<VT> UnwindSafe for DumpGenerator<VT>where VT: UnwindSafe,
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