Module ext
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
-
RepAsIteratorExt
Extension trait providing the
quote_into_itermethod for types that can be referenced as an iterator. -
RepIteratorExt
Extension trait providing the
quote_into_itermethod on iterators. -
RepToTokensExt
Extension trait providing the
quote_into_itermethod for non-iterable types. These types interpolate the same value in each iteration of the repetition.