Struct jsmn_rs::JsmnTok[][src]

#[repr(C)]
pub struct JsmnTok { pub typ: JsmnType, pub start: isize, pub end: isize, pub size: isize, }

A JSON token structure, defining which type of JSON object it is, the starting character, ending character, and size in bytes. All offsets are from the start of the parsed string.

Note that if the parent-links feature is used, then this struct will have the "parent" field, and otherwise it will not.

Fields

Methods

impl JsmnTok
[src]

Trait Implementations

impl Debug for JsmnTok
[src]

Formats the value using the given formatter. Read more

impl Copy for JsmnTok
[src]

impl Clone for JsmnTok
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for JsmnTok
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for JsmnTok

impl Sync for JsmnTok