Enum json_tools::BufferType [] [src]

pub enum BufferType {
    Bytes(usize),
    Span,
}

The type of Buffer you want in each Token

Variants

Use a Buffer::MultiByte were appropriate. Initialize it with the given capcity (to obtain higher performance when pushing charcters)

Trait Implementations

impl Debug for BufferType
[src]

Formats the value using the given formatter.

impl PartialEq for BufferType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for BufferType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more