Lines Matching refs:style
738 pub(crate) fn print_path(tokens: &mut TokenStream, path: &Path, style: PathStyle) { in print_path()
741 print_path_segment(tokens, segment.value(), style); in print_path()
753 fn print_path_segment(tokens: &mut TokenStream, segment: &PathSegment, style: PathStyle) { in print_path_segment()
755 print_path_arguments(tokens, &segment.arguments, style); in print_path_segment()
765 fn print_path_arguments(tokens: &mut TokenStream, arguments: &PathArguments, style: PathStyle) { in print_path_arguments()
769 print_angle_bracketed_generic_arguments(tokens, arguments, style); in print_path_arguments()
772 print_parenthesized_generic_arguments(tokens, arguments, style); in print_path_arguments()
804 style: PathStyle, in print_angle_bracketed_generic_arguments()
806 if let PathStyle::Mod = style { in print_angle_bracketed_generic_arguments()
810 conditionally_print_turbofish(tokens, &arguments.colon2_token, style); in print_angle_bracketed_generic_arguments()
889 style: PathStyle, in print_parenthesized_generic_arguments()
891 if let PathStyle::Mod = style { in print_parenthesized_generic_arguments()
895 conditionally_print_turbofish(tokens, &None, style); in print_parenthesized_generic_arguments()
906 style: PathStyle, in print_qpath()
911 print_path(tokens, path, style); in print_qpath()
935 print_path_segment(tokens, segment.value(), style); in print_qpath()
943 style: PathStyle, in conditionally_print_turbofish()
945 match style { in conditionally_print_turbofish()