@@ -45,7 +45,7 @@ const _: () = {
4545 }
4646 }
4747 #[ automatically_derived]
48- impl < T > IntoWasmAbi for GenericStruct < T >
48+ impl < T > IntoWasmAbi for & GenericStruct < T >
4949 where
5050 GenericStruct < T > : _serde:: Serialize ,
5151 {
@@ -83,6 +83,17 @@ const _: () = {
8383 }
8484 }
8585 #[ automatically_derived]
86+ impl < T > IntoWasmAbi for GenericStruct < T >
87+ where
88+ GenericStruct < T > : _serde:: Serialize ,
89+ {
90+ type Abi = <JsType as IntoWasmAbi >:: Abi ;
91+ #[ inline]
92+ fn into_abi ( self ) -> Self :: Abi {
93+ ( & self ) . into_abi ( )
94+ }
95+ }
96+ #[ automatically_derived]
8697 impl < T > OptionIntoWasmAbi for GenericStruct < T >
8798 where
8899 GenericStruct < T > : _serde:: Serialize ,
@@ -284,7 +295,7 @@ const _: () = {
284295 }
285296 }
286297 #[ automatically_derived]
287- impl < T > IntoWasmAbi for GenericNewtype < T >
298+ impl < T > IntoWasmAbi for & GenericNewtype < T >
288299 where
289300 GenericNewtype < T > : _serde:: Serialize ,
290301 {
@@ -322,6 +333,17 @@ const _: () = {
322333 }
323334 }
324335 #[ automatically_derived]
336+ impl < T > IntoWasmAbi for GenericNewtype < T >
337+ where
338+ GenericNewtype < T > : _serde:: Serialize ,
339+ {
340+ type Abi = <JsType as IntoWasmAbi >:: Abi ;
341+ #[ inline]
342+ fn into_abi ( self ) -> Self :: Abi {
343+ ( & self ) . into_abi ( )
344+ }
345+ }
346+ #[ automatically_derived]
325347 impl < T > OptionIntoWasmAbi for GenericNewtype < T >
326348 where
327349 GenericNewtype < T > : _serde:: Serialize ,
0 commit comments