Struct syntax::ast::PathSegment[src]
pub struct PathSegment {
pub identifier: Ident,
pub lifetimes: Vec<Lifetime>,
pub types: OwnedSlice<P<Ty>>,
}A segment of a path: an identifier, an optional lifetime, and a set of types.
Fields
identifier | The identifier portion of this path segment. |
lifetimes | The lifetime parameters for this path segment. |
types | The type parameters for this path segment, if present. |