Struct json_tools::Span [] [src]

pub struct Span {
    pub first: u64,
    pub end: u64,
}

A pair of indices into the byte stream returned by our source iterator. It is an exclusive range.

Fields

Index of the first the byte

Index one past the last byte

Trait Implementations

impl Debug for Span
[src]

Formats the value using the given formatter.

impl PartialEq for Span
[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 Span
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Span
[src]

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