Enum reproto_parser::ast::PathSegment
[−]
[src]
pub enum PathSegment<'input> {
Literal {
value: Loc<String>,
},
Variable {
name: Loc<&'input str>,
ty: Loc<Type>,
},
}Variants
LiteralFields of Literal
value: Loc<String> |
VariableFields of Variable
name: Loc<&'input str> | |
ty: Loc<Type> |
Trait Implementations
impl<'input> Debug for PathSegment<'input>[src]
impl<'input> PartialEq for PathSegment<'input>[src]
fn eq(&self, __arg_0: &PathSegment<'input>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PathSegment<'input>) -> bool[src]
This method tests for !=.