Expand description
A desugared representation of paths like crate::foo
or <Type as Trait>::bar
.
Macros§
Structs§
- An associated type binding like in
Iterator<Item = T>
. - Generic arguments to a path segment (e.g. the
i32
inOption<i32>
). This also includes bindings of associated types, like inIterator<Item = Foo>
.
Enums§
- A single generic argument.
Functions§
- This function finds the AST segment that corresponds to the HIR segment with index
segment_idx
on the path that is lowered frompath
.