зеркало из https://github.com/mozilla/gecko-dev.git
e5976b05e4
When I originally wrote rust-xpcom support, it wasn't possible to implement generic vtables in Rust. With updates and improvements to the language since then, it is now possible to do, so this patch adds support for implementing xpcom interfaces on generic structs. All generic parameters to these structs are required to have a `'static` lifetime bound, as it is not possible to safely represent xpcom interface objects which contain internal non-'static references. Differential Revision: https://phabricator.services.mozilla.com/D89950 |
||
---|---|---|
.. | ||
bench-collections | ||
nsstring | ||
xpcom | ||
moz.build |