Skip to main content

Module ast_utils

Module ast_utils 

Source
Expand description

Utilities for manipulating and extracting information from rustc_ast::ast.

  • The eq_foobar functions test for semantic equality but ignores NodeIds and Spans.

Re-exportsยง

pub use ident_iter::IdentIter;

Modulesยง

ident_iter

Functionsยง

eq_angle_arg ๐Ÿ”’
eq_anon_const ๐Ÿ”’
eq_arm ๐Ÿ”’
eq_assoc_item_constraint ๐Ÿ”’
eq_assoc_item_kind ๐Ÿ”’
eq_attr ๐Ÿ”’
eq_attr_args ๐Ÿ”’
eq_attr_item_kind ๐Ÿ”’
eq_block ๐Ÿ”’
eq_closure_binder ๐Ÿ”’
eq_const_item_rhs ๐Ÿ”’
eq_coroutine_kind ๐Ÿ”’
eq_defaultness ๐Ÿ”’
eq_delim_args ๐Ÿ”’
eq_expr ๐Ÿ”’
eq_expr_opt ๐Ÿ”’
eq_ext ๐Ÿ”’
eq_field ๐Ÿ”’
eq_field_pat
eq_fn_decl ๐Ÿ”’
eq_fn_header ๐Ÿ”’
eq_fn_ret_ty ๐Ÿ”’
eq_fn_sig ๐Ÿ”’
eq_foreign_item_kind ๐Ÿ”’
eq_generic_arg ๐Ÿ”’
eq_generic_args ๐Ÿ”’
eq_generic_bound ๐Ÿ”’
eq_generic_param ๐Ÿ”’
eq_generics ๐Ÿ”’
eq_id
eq_impl_restriction ๐Ÿ”’
eq_item ๐Ÿ”’
eq_item_kind ๐Ÿ”’
eq_label ๐Ÿ”’
eq_local_kind ๐Ÿ”’
eq_mac_call ๐Ÿ”’
eq_maybe_qself
eq_mut_restriction
eq_opt_coroutine_kind ๐Ÿ”’
eq_opt_fn_contract ๐Ÿ”’
eq_pat
eq_path
eq_path_seg ๐Ÿ”’
eq_poly_ref_trait ๐Ÿ”’
eq_qself ๐Ÿ”’
eq_range_end ๐Ÿ”’
eq_restriction_kind ๐Ÿ”’
eq_stmt ๐Ÿ”’
eq_str_lit ๐Ÿ”’
eq_struct_field ๐Ÿ”’
eq_struct_rest ๐Ÿ”’
eq_term ๐Ÿ”’
eq_ty ๐Ÿ”’
eq_use_tree ๐Ÿ”’
eq_use_tree_kind ๐Ÿ”’
eq_variant ๐Ÿ”’
eq_variant_data ๐Ÿ”’
eq_vis ๐Ÿ”’
eq_where_predicate ๐Ÿ”’
is_cfg_test
Checks whether #[cfg(test)] is directly applied to item.
is_useless_with_eq_exprs
unordered_over
Checks if each element in the first slice is contained within the latter as per eq_fn.