Struct simd_json::value::generator::PrettyGenerator [−][src]
pub struct PrettyGenerator<V> where
V: Value, { /* fields omitted */ }Expand description
Pretty Generator
Implementations
impl<V> PrettyGenerator<V> where
V: Value, [src]
impl<V> PrettyGenerator<V> where
V: Value, [src]Trait Implementations
impl<V> BaseGenerator for PrettyGenerator<V> where
V: Value, [src]
impl<V> BaseGenerator for PrettyGenerator<V> where
V: 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
Auto Trait Implementations
impl<V> RefUnwindSafe for PrettyGenerator<V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<V> Send for PrettyGenerator<V> where
V: Send,
V: Send,
impl<V> Sync for PrettyGenerator<V> where
V: Sync,
V: Sync,
impl<V> Unpin for PrettyGenerator<V> where
V: Unpin,
V: Unpin,
impl<V> UnwindSafe for PrettyGenerator<V> where
V: UnwindSafe,
V: UnwindSafe,