Lines Matching refs:PathStyle

717     pub(crate) enum PathStyle {  enum
723 impl Copy for PathStyle {} implementation
725 impl Clone for PathStyle { implementation
734 print_path(tokens, self, PathStyle::AsWritten); in to_tokens()
738 pub(crate) fn print_path(tokens: &mut TokenStream, path: &Path, style: PathStyle) { in print_path() argument
749 print_path_segment(tokens, self, PathStyle::AsWritten); in to_tokens()
753 fn print_path_segment(tokens: &mut TokenStream, segment: &PathSegment, style: PathStyle) { in print_path_segment() argument
761 print_path_arguments(tokens, self, PathStyle::AsWritten); in to_tokens()
765 fn print_path_arguments(tokens: &mut TokenStream, arguments: &PathArguments, style: PathStyle) { in print_path_arguments() argument
797 print_angle_bracketed_generic_arguments(tokens, self, PathStyle::AsWritten); in to_tokens()
804 style: PathStyle, in print_angle_bracketed_generic_arguments() argument
806 if let PathStyle::Mod = style { in print_angle_bracketed_generic_arguments()
882 print_parenthesized_generic_arguments(tokens, self, PathStyle::AsWritten); in to_tokens()
889 style: PathStyle, in print_parenthesized_generic_arguments() argument
891 if let PathStyle::Mod = style { in print_parenthesized_generic_arguments()
906 style: PathStyle, in print_qpath() argument
924 print_path_segment(tokens, segment.value(), PathStyle::AsWritten); in print_qpath()
943 style: PathStyle, in conditionally_print_turbofish() argument
946 PathStyle::Expr => TokensOrDefault(colon2_token).to_tokens(tokens), in conditionally_print_turbofish()
947 PathStyle::Mod => unreachable!(), in conditionally_print_turbofish()
948 PathStyle::AsWritten => colon2_token.to_tokens(tokens), in conditionally_print_turbofish()