Enum reproto_parser::ast::PathSegment [] [src]

pub enum PathSegment<'input> {
    Literal {
        value: Loc<String>,
    },
    Variable {
        name: Loc<&'input str>,
        ty: Loc<Type>,
    },
}

Variants

Fields of Literal

Fields of Variable

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'input> PartialEq for PathSegment<'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 !=.

impl<'input> Eq for PathSegment<'input>
[src]