Enum reproto_parser::ast::PathSegment
[−]
[src]
pub enum PathSegment<'input> { Literal { value: Loc<String>, }, Variable { name: Loc<&'input str>, ty: Loc<RpType>, }, }
Variants
Literal
Fields of Literal
value: Loc<String> |
Variable
Fields of Variable
name: Loc<&'input str> | |
ty: Loc<RpType> |
Trait Implementations
impl<'input> Debug for PathSegment<'input>
[src]
impl<'input> IntoModel for PathSegment<'input>
[src]
type Output = RpPathSegment
fn into_model(self) -> Result<RpPathSegment>
Convert the current type to a model.