Struct syntex_syntax::ast::Path
[−]
[src]
pub struct Path { pub span: Span, pub global: bool, pub segments: Vec<PathSegment>, }
A "Path" is essentially Rust's notion of a name; for instance: std::cmp::PartialEq . It's represented as a sequence of identifiers, along with a bunch of supporting information.
Fields
span | |
global | A |
segments | The segments in the path: the things separated by |