Lines Matching refs:PathSegment
12 pub segments: Punctuated<PathSegment, Token![::]>,
18 T: Into<PathSegment>,
36 pub struct PathSegment {
42 impl<T> From<T> for PathSegment implementation
47 PathSegment { in from()
356 impl Parse for PathSegment { implementation
362 impl PathSegment { impl
366 return Ok(PathSegment::from(ident)); in parse_helper()
378 Ok(PathSegment { in parse_helper()
383 Ok(PathSegment::from(ident)) in parse_helper()
479 segments.push_value(PathSegment::from(ident)); in parse_mod_style()
566 let value = PathSegment::parse_helper(input, expr_style)?; in parse_helper()
583 let value = PathSegment::parse_helper(input, expr_style)?; in parse_rest()
605 let path = PathSegment::parse_helper(input, expr_style)?; in qpath()
660 impl ToTokens for PathSegment { implementation