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

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

Variants

Fields of Literal

Fields of Variable

Trait Implementations

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

Formats the value using the given formatter.

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

Convert the current type to a model.