pub struct DumpGenerator<VT> where
    VT: Value
{ /* private fields */ }
Expand description

Simple dump Generator

Implementations

Creates a new generator

Returns the data as a String

Trait Implementations

The writer

Write a slice Read more

Write a char Read more

returns teh writer

write with minimum Read more

writes new line Read more

indents one step

dedents one step

Writes a string with escape sequences Read more

writes a string Read more

writes a string Read more

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

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

writes a float value Read more

writes an integer value Read more

👎 Deprecated since 0.1.5:

Please use the write_int function instead

writes an integer 128 bit Read more

👎 Deprecated since 0.1.5:

Please use the write_int function instead

writes an unsigned integer Read more

👎 Deprecated since 0.1.5:

Please use the write_int function instead

writes an unsigned 128bit integer Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.