macro_rules! upcast_foreign_rc { ($rc:expr => dyn $trait:ident $(<$($trait_tyvar:ident),*>)? ) => { ... }; }
Upcasts a ForeignRc from a concrete type to a dyn Trait that the concrete type implements
ForeignRc
dyn Trait