Enum reproto_path_lexer::PathToken [] [src]

pub enum PathToken<'input> {
    Identifier(Cow<'input, str>),
    Segment(String),
    Slash,
    LeftCurly,
    RightCurly,
}

Variants

Variable identifier.

Potentially escaped segment.

Trait Implementations

impl<'input> Clone for PathToken<'input>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'input> Debug for PathToken<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for PathToken<'input>
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl<'input> Send for PathToken<'input>

impl<'input> Sync for PathToken<'input>