๐ฌThis is a nightly-only experimental API. (
proc_macro_internals)Expand description
Extension traits used by the implementation of quote!. These are defined
in separate traits, rather than as a single trait due to ambiguity issues.
These traits expose a quote_into_iter method which should allow calling
whichever impl happens to be applicable. Calling that method repeatedly on
the returned value should be idempotent.
Traitsยง
- RepAs
Iterator ๐ปExt Experimental - Extension trait providing the
quote_into_itermethod for types that can be referenced as an iterator. - RepIterator
Ext ๐ปExperimental - Extension trait providing the
quote_into_itermethod on iterators. - RepTo
Tokens ๐ปExt Experimental - Extension trait providing the
quote_into_itermethod for non-iterable types. These types interpolate the same value in each iteration of the repetition.