Enum syntex_syntax::tokenstream::InternalTS [] [src]

pub enum InternalTS {
    Empty(Span),
    Leaf {
        tts: Rc<Vec<TokenTree>>,
        offset: usize,
        len: usize,
        sp: Span,
    },
    Node {
        left: Rc<InternalTS>,
        right: Rc<InternalTS>,
        len: usize,
        sp: Span,
    },
}

Variants

Fields

Fields

Trait Implementations

impl Clone for InternalTS
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for InternalTS
[src]

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

This method tests for !=.

impl Eq for InternalTS
[src]

impl Hash for InternalTS
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Encodable for InternalTS
[src]

Serialize a value using an Encoder.

impl Decodable for InternalTS
[src]

Deserialize a value using a Decoder.

impl Debug for InternalTS
[src]

Formats the value using the given formatter.

impl Index<usize> for InternalTS
[src]

The returned type after indexing

The method for the indexing (container[index]) operation