Struct simd_json::value::generator::DumpGenerator [−][src]
pub struct DumpGenerator<VT> where
VT: Value, { /* fields omitted */ }Expand description
Simple dump Generator
Implementations
impl<VT> DumpGenerator<VT> where
VT: Value, [src]
impl<VT> DumpGenerator<VT> where
VT: Value, [src]Trait Implementations
impl<VT> BaseGenerator for DumpGenerator<VT> where
VT: Value, [src]
impl<VT> BaseGenerator for DumpGenerator<VT> where
VT: Value, [src]pub fn get_writer(&mut self) -> &mut Vec<u8, Global>ⓘ[src]
pub fn get_writer(&mut self) -> &mut Vec<u8, Global>ⓘ[src]returns teh writer
fn write_string_complex(
&mut self,
string: &[u8],
start: usize
) -> Result<(), Error>[src]
fn write_string_complex(
&mut self,
string: &[u8],
start: usize
) -> Result<(), Error>[src]Writes a string with escape sequences Read more
fn write_simple_string(&mut self, string: &str) -> Result<(), Error>[src]
fn write_simple_string(&mut self, string: &str) -> Result<(), Error>[src]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
fn write_simple_str_content(&mut self, string: &str) -> Result<(), Error>[src]
fn write_simple_str_content(&mut self, string: &str) -> Result<(), Error>[src]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
fn write_int<I>(&mut self, num: I) -> Result<(), Error> where
I: Integer, [src]
fn write_int<I>(&mut self, num: I) -> Result<(), Error> where
I: Integer, [src]writes an integer value Read more
fn write_int128(&mut self, num: i128) -> Result<(), Error>[src]
fn write_int128(&mut self, num: i128) -> Result<(), Error>[src]👎 Deprecated since 0.1.5:
Please use the write_int function instead
writes an integer 128 bit Read more
impl<VT> Default for DumpGenerator<VT> where
VT: Value, [src]
impl<VT> Default for DumpGenerator<VT> where
VT: Value, [src]pub fn default() -> DumpGenerator<VT>[src]
pub fn default() -> DumpGenerator<VT>[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<VT> RefUnwindSafe for DumpGenerator<VT> where
VT: RefUnwindSafe,
VT: RefUnwindSafe,
impl<VT> Send for DumpGenerator<VT> where
VT: Send,
VT: Send,
impl<VT> Sync for DumpGenerator<VT> where
VT: Sync,
VT: Sync,
impl<VT> Unpin for DumpGenerator<VT> where
VT: Unpin,
VT: Unpin,
impl<VT> UnwindSafe for DumpGenerator<VT> where
VT: UnwindSafe,
VT: UnwindSafe,