Structsยง
- UseSegment ๐
- UseTree ๐
Enumsยง
- Shared
Prefix ๐ - UseSegment
Kind ๐
Functionsยง
- flatten_
use_ ๐trees - merge_
rest ๐ - merge_
use_ ๐trees_ inner - module_
prefix ๐ - Returns all but the last portion of the module path, except in the case of top-level modules (length 1), which remain unchanged. Used for Module-level imports_granularity.
- normalize_
use_ ๐trees_ with_ granularity - path_
to_ ๐imported_ ident - Returns a name imported by a
usedeclaration. E.g., returnsOrderingforstd::cmp::Orderingandselfforstd::cmp::self. - rewrite_
nested_ ๐use_ tree