Struct simd_json::value::generator::DumpGenerator [−][src]
pub struct DumpGenerator<VT> where
VT: Value, { /* fields omitted */ }
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]type T = Vec<u8, Global>
The writer
pub fn write(&mut self, slice: &[u8]) -> Result<(), Error>
[src]
pub fn write_char(&mut self, ch: u8) -> Result<(), Error>
[src]
pub fn get_writer(&mut self) -> &mut Vec<u8, Global>ⓘ
[src]
pub fn write_min(&mut self, &[u8], min: u8) -> Result<(), Error>
[src]
pub fn new_line(&mut self) -> Result<(), Error>
[src]
pub fn indent(&mut self)
[src]
pub fn dedent(&mut self)
[src]
pub fn write_string_complex(
&mut self,
string: &[u8],
start: usize
) -> Result<(), Error>
[src]
&mut self,
string: &[u8],
start: usize
) -> Result<(), Error>
pub fn write_string(&mut self, string: &str) -> Result<(), Error>
[src]
pub fn write_string_content(&mut self, string: &str) -> Result<(), Error>
[src]
pub fn write_simple_string(&mut self, string: &str) -> Result<(), Error>
[src]
pub fn write_simple_str_content(&mut self, string: &str) -> Result<(), Error>
[src]
pub fn write_float(&mut self, num: f64) -> Result<(), Error>
[src]
pub fn write_int<I>(&mut self, num: I) -> Result<(), Error> where
I: Integer,
[src]
I: Integer,
pub fn write_int128(&mut self, num: i128) -> Result<(), Error>
[src]
pub fn write_uint(&mut self, num: u64) -> Result<(), Error>
[src]
pub fn write_uint128(&mut self, num: u128) -> Result<(), Error>
[src]
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]
Auto Trait Implementations
impl<VT> RefUnwindSafe for DumpGenerator<VT> where
VT: RefUnwindSafe,
impl<VT> RefUnwindSafe for DumpGenerator<VT> where
VT: RefUnwindSafe,
impl<VT> Send for DumpGenerator<VT> where
VT: Send,
impl<VT> Send for DumpGenerator<VT> where
VT: Send,
impl<VT> Sync for DumpGenerator<VT> where
VT: Sync,
impl<VT> Sync for DumpGenerator<VT> where
VT: Sync,
impl<VT> Unpin for DumpGenerator<VT> where
VT: Unpin,
impl<VT> Unpin for DumpGenerator<VT> where
VT: Unpin,
impl<VT> UnwindSafe for DumpGenerator<VT> where
VT: UnwindSafe,
impl<VT> UnwindSafe for DumpGenerator<VT> where
VT: UnwindSafe,