@@ -4,11 +4,11 @@ use rquickjs::{
44} ;
55
66use super :: { IntoModule , ModuleMeta } ;
7- use crate :: { ModuleDefExt , ModuleImpl } ;
7+ use crate :: { Extension , ModuleImpl } ;
88
99pub struct ModuleDefWrapper < T , O >
1010where
11- T : ModuleDefExt < O , Implementation = ModuleImpl < O > > ,
11+ T : Extension < O , Implementation = ModuleImpl < O > > ,
1212 for < ' js > O : JsLifetime < ' js > ,
1313{
1414 _marker : std:: marker:: PhantomData < T > ,
@@ -17,14 +17,14 @@ where
1717
1818impl < T , O > IntoModule < O , ModuleDefWrapper < T , O > > for T
1919where
20- T : ModuleDefExt < O , Implementation = ModuleImpl < O > > ,
20+ T : Extension < O , Implementation = ModuleImpl < O > > ,
2121 for < ' js > O : JsLifetime < ' js > + ' static ,
2222{
2323}
2424
2525impl < T , O > ModuleMeta for ModuleDefWrapper < T , O >
2626where
27- T : ModuleDefExt < O , Implementation = ModuleImpl < O > > ,
27+ T : Extension < O , Implementation = ModuleImpl < O > > ,
2828 for < ' c > O : JsLifetime < ' c > + ' static ,
2929{
3030 fn name ( ) -> & ' static str {
3838
3939impl < T , O > ModuleDef for ModuleDefWrapper < T , O >
4040where
41- T : ModuleDefExt < O , Implementation = ModuleImpl < O > > ,
41+ T : Extension < O , Implementation = ModuleImpl < O > > ,
4242 for < ' js > O : JsLifetime < ' js > + ' static ,
4343{
4444 fn declare ( decl : & Declarations ) -> Result < ( ) > {
0 commit comments