[−][src]Struct json_joxit_fork::codegen::DumpGenerator
In-Memory Generator, this uses a Vec to store the JSON result.
Methods
impl DumpGenerator
[src]
Trait Implementations
impl Generator for DumpGenerator
[src]
type T = Vec<u8>
fn write(&mut self, slice: &[u8]) -> Result<()>
[src]
fn write_char(&mut self, ch: u8) -> Result<()>
[src]
fn get_writer(&mut self) -> &mut Vec<u8>
[src]
fn write_min(&mut self, _: &[u8], min: u8) -> Result<()>
[src]
fn new_line(&mut self) -> Result<()>
[src]
fn indent(&mut self)
[src]
fn dedent(&mut self)
[src]
fn write_string_complex(&mut self, string: &str, start: usize) -> Result<()>
[src]
fn write_string(&mut self, string: &str) -> Result<()>
[src]
fn write_number(&mut self, num: &Number) -> Result<()>
[src]
fn write_object(&mut self, object: &Object) -> Result<()>
[src]
fn write_json(&mut self, json: &JsonValue) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for DumpGenerator
impl Send for DumpGenerator
impl Sync for DumpGenerator
impl Unpin for DumpGenerator
impl UnwindSafe for DumpGenerator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,