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
typ: JsmnType
start: isize
end: isize
size: isize
Methods
impl JsmnTok
[src]
impl JsmnTok
Trait Implementations
impl Debug for JsmnTok
[src]
impl Debug for JsmnTok
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for JsmnTok
[src]
impl Copy for JsmnTok
impl Clone for JsmnTok
[src]
impl Clone for JsmnTok
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for JsmnTok
[src]
impl Default for JsmnTok