Macro rerast_macros::replace_type
[−]
[src]
macro_rules! replace_type { ($a:ty => $b:ty) => { ... }; }
Replaces one type with another. This will not match trait bounds (e.g. in where clauses), since
they are not types. If you want to replace all references to a trait, use replace_trait_ref!
instead.