Struct ress::Item[][src]

pub struct Item {
    pub token: Token,
    pub span: Span,
}

A wrapper around a token that will include the byte span of the text that it was found at

Fields

Methods

impl Item
[src]

Create a new Item from its parts

Trait Implementations

impl Debug for Item
[src]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Item

impl Sync for Item