Struct simd_json::value::generator::PrettyGenerator[][src]

pub struct PrettyGenerator<V> where
    V: Value
{ /* fields omitted */ }

Pretty Generator

Implementations

impl<V> PrettyGenerator<V> where
    V: Value
[src]

#[must_use]
pub fn new(spaces: u16) -> PrettyGenerator<V>
[src]

Creates a new pretty priting generator

#[must_use]
pub fn consume(self) -> String
[src]

Returns the data as a String

Trait Implementations

impl<V> BaseGenerator for PrettyGenerator<V> where
    V: Value
[src]

type T = Vec<u8, Global>

The writer

Auto Trait Implementations

impl<V> RefUnwindSafe for PrettyGenerator<V> where
    V: RefUnwindSafe

impl<V> Send for PrettyGenerator<V> where
    V: Send

impl<V> Sync for PrettyGenerator<V> where
    V: Sync

impl<V> Unpin for PrettyGenerator<V> where
    V: Unpin

impl<V> UnwindSafe for PrettyGenerator<V> where
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.