Expand description
Transforms ast::Expr into an equivalent hir_def::expr::Expr
representation.
Structs§
Functions§
- hir_
assoc_ type_ binding_ to_ ast - This function find the AST fragment that corresponds to an
AssociatedTypeBindingin the HIR. - hir_
generic_ arg_ to_ ast - This function find the AST generic argument from the one in the HIR. Does not support the
Selfargument. - hir_
segment_ to_ ast_ segment - This function finds the AST segment that corresponds to the HIR segment
with index
segment_idxon the path that is lowered frompath.