Expand description
Common utility function for manipulating syn types and handling parsed values
Structs§
- ShortHash 
- Small utility used when generating symbol names.
Functions§
- ident_ty 
- Create a path type with a single segment from a given Identifier
- leading_colon_ path_ ty 
- Create a global path type from the given segments. For example an iterator
yielding the idents [foo, bar, baz]will result in the path type::foo::bar::baz.
- raw_ident 
- Create an Identwithout checking to see if it conflicts with a Rust keyword.
- rust_ident 
- Create an Ident, possibly mangling it if it conflicts with a Rust keyword.
- simple_path_ ty 
- Create a path type from the given segments. For example an iterator yielding
the idents [foo, bar, baz]will result in the path typefoo::bar::baz.
- wrap_import_ function 
- Convert an ImportFunction into the more generic Import type, wrapping the provided function