Lines Matching refs:Path
16 pub struct Path {
22 impl<T> From<T> for Path implementation
27 let mut path = Path { in from()
36 impl Path { implementation
302 ParenthesizedGenericArguments, Path, PathArguments, PathSegment, QSelf,
311 impl Parse for Path { implementation
331 Type::Path(mut ty) in parse()
402 argument = Type::Path(ty); in parse()
421 return Ok(Expr::Path(ExprPath { in const_argument()
424 path: Path::from(ident), in const_argument()
549 impl Path { impl
582 Ok(Path { in parse_mod_style()
614 let mut path = Path { in parse_helper()
623 Path::parse_rest(input, &mut path, expr_style)?; in parse_helper()
648 pub(crate) fn qpath(input: ParseStream, expr_style: bool) -> Result<(Option<QSelf>, Path)> { in qpath() argument
654 let path: Path = input.parse()?; in qpath()
679 let path = Path { in qpath()
695 let path = Path::parse_helper(input, expr_style)?; in qpath()
706 ParenthesizedGenericArguments, Path, PathArguments, PathSegment, QSelf,
732 impl ToTokens for Path { implementation
738 pub(crate) fn print_path(tokens: &mut TokenStream, path: &Path, style: PathStyle) { in print_path() argument
905 path: &Path, in print_qpath() argument