@@ -145,14 +145,6 @@ impl ToValue for AxisUse {
145
145
}
146
146
}
147
147
148
- impl From < AxisUse > for glib:: Value {
149
- #[ inline]
150
- fn from ( v : AxisUse ) -> Self {
151
- skip_assert_initialized ! ( ) ;
152
- ToValue :: to_value ( & v)
153
- }
154
- }
155
-
156
148
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
157
149
#[ non_exhaustive]
158
150
#[ doc( alias = "GdkCrossingMode" ) ]
@@ -272,14 +264,6 @@ impl ToValue for CrossingMode {
272
264
}
273
265
}
274
266
275
- impl From < CrossingMode > for glib:: Value {
276
- #[ inline]
277
- fn from ( v : CrossingMode ) -> Self {
278
- skip_assert_initialized ! ( ) ;
279
- ToValue :: to_value ( & v)
280
- }
281
- }
282
-
283
267
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
284
268
#[ non_exhaustive]
285
269
#[ doc( alias = "GdkDevicePadFeature" ) ]
@@ -369,14 +353,6 @@ impl ToValue for DevicePadFeature {
369
353
}
370
354
}
371
355
372
- impl From < DevicePadFeature > for glib:: Value {
373
- #[ inline]
374
- fn from ( v : DevicePadFeature ) -> Self {
375
- skip_assert_initialized ! ( ) ;
376
- ToValue :: to_value ( & v)
377
- }
378
- }
379
-
380
356
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
381
357
#[ non_exhaustive]
382
358
#[ doc( alias = "GdkDeviceToolType" ) ]
@@ -491,14 +467,6 @@ impl ToValue for DeviceToolType {
491
467
}
492
468
}
493
469
494
- impl From < DeviceToolType > for glib:: Value {
495
- #[ inline]
496
- fn from ( v : DeviceToolType ) -> Self {
497
- skip_assert_initialized ! ( ) ;
498
- ToValue :: to_value ( & v)
499
- }
500
- }
501
-
502
470
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
503
471
#[ non_exhaustive]
504
472
#[ doc( alias = "GdkDragCancelReason" ) ]
@@ -588,14 +556,6 @@ impl ToValue for DragCancelReason {
588
556
}
589
557
}
590
558
591
- impl From < DragCancelReason > for glib:: Value {
592
- #[ inline]
593
- fn from ( v : DragCancelReason ) -> Self {
594
- skip_assert_initialized ! ( ) ;
595
- ToValue :: to_value ( & v)
596
- }
597
- }
598
-
599
559
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
600
560
#[ non_exhaustive]
601
561
#[ doc( alias = "GdkEventType" ) ]
@@ -820,14 +780,6 @@ impl ToValue for EventType {
820
780
}
821
781
}
822
782
823
- impl From < EventType > for glib:: Value {
824
- #[ inline]
825
- fn from ( v : EventType ) -> Self {
826
- skip_assert_initialized ! ( ) ;
827
- ToValue :: to_value ( & v)
828
- }
829
- }
830
-
831
783
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
832
784
#[ non_exhaustive]
833
785
#[ doc( alias = "GdkFullscreenMode" ) ]
@@ -912,14 +864,6 @@ impl ToValue for FullscreenMode {
912
864
}
913
865
}
914
866
915
- impl From < FullscreenMode > for glib:: Value {
916
- #[ inline]
917
- fn from ( v : FullscreenMode ) -> Self {
918
- skip_assert_initialized ! ( ) ;
919
- ToValue :: to_value ( & v)
920
- }
921
- }
922
-
923
867
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
924
868
#[ non_exhaustive]
925
869
#[ doc( alias = "GdkGLError" ) ]
@@ -1043,14 +987,6 @@ impl ToValue for GLError {
1043
987
}
1044
988
}
1045
989
1046
- impl From < GLError > for glib:: Value {
1047
- #[ inline]
1048
- fn from ( v : GLError ) -> Self {
1049
- skip_assert_initialized ! ( ) ;
1050
- ToValue :: to_value ( & v)
1051
- }
1052
- }
1053
-
1054
990
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1055
991
#[ non_exhaustive]
1056
992
#[ doc( alias = "GdkGravity" ) ]
@@ -1175,14 +1111,6 @@ impl ToValue for Gravity {
1175
1111
}
1176
1112
}
1177
1113
1178
- impl From < Gravity > for glib:: Value {
1179
- #[ inline]
1180
- fn from ( v : Gravity ) -> Self {
1181
- skip_assert_initialized ! ( ) ;
1182
- ToValue :: to_value ( & v)
1183
- }
1184
- }
1185
-
1186
1114
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1187
1115
#[ non_exhaustive]
1188
1116
#[ doc( alias = "GdkInputSource" ) ]
@@ -1292,14 +1220,6 @@ impl ToValue for InputSource {
1292
1220
}
1293
1221
}
1294
1222
1295
- impl From < InputSource > for glib:: Value {
1296
- #[ inline]
1297
- fn from ( v : InputSource ) -> Self {
1298
- skip_assert_initialized ! ( ) ;
1299
- ToValue :: to_value ( & v)
1300
- }
1301
- }
1302
-
1303
1223
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1304
1224
#[ non_exhaustive]
1305
1225
#[ doc( alias = "GdkKeyMatch" ) ]
@@ -1389,14 +1309,6 @@ impl ToValue for KeyMatch {
1389
1309
}
1390
1310
}
1391
1311
1392
- impl From < KeyMatch > for glib:: Value {
1393
- #[ inline]
1394
- fn from ( v : KeyMatch ) -> Self {
1395
- skip_assert_initialized ! ( ) ;
1396
- ToValue :: to_value ( & v)
1397
- }
1398
- }
1399
-
1400
1312
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1401
1313
#[ non_exhaustive]
1402
1314
#[ doc( alias = "GdkMemoryFormat" ) ]
@@ -1614,14 +1526,6 @@ impl ToValue for MemoryFormat {
1614
1526
}
1615
1527
}
1616
1528
1617
- impl From < MemoryFormat > for glib:: Value {
1618
- #[ inline]
1619
- fn from ( v : MemoryFormat ) -> Self {
1620
- skip_assert_initialized ! ( ) ;
1621
- ToValue :: to_value ( & v)
1622
- }
1623
- }
1624
-
1625
1529
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1626
1530
#[ non_exhaustive]
1627
1531
#[ doc( alias = "GdkNotifyType" ) ]
@@ -1726,14 +1630,6 @@ impl ToValue for NotifyType {
1726
1630
}
1727
1631
}
1728
1632
1729
- impl From < NotifyType > for glib:: Value {
1730
- #[ inline]
1731
- fn from ( v : NotifyType ) -> Self {
1732
- skip_assert_initialized ! ( ) ;
1733
- ToValue :: to_value ( & v)
1734
- }
1735
- }
1736
-
1737
1633
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1738
1634
#[ non_exhaustive]
1739
1635
#[ doc( alias = "GdkScrollDirection" ) ]
@@ -1833,14 +1729,6 @@ impl ToValue for ScrollDirection {
1833
1729
}
1834
1730
}
1835
1731
1836
- impl From < ScrollDirection > for glib:: Value {
1837
- #[ inline]
1838
- fn from ( v : ScrollDirection ) -> Self {
1839
- skip_assert_initialized ! ( ) ;
1840
- ToValue :: to_value ( & v)
1841
- }
1842
- }
1843
-
1844
1732
#[ cfg( any( feature = "v4_8" , feature = "dox" ) ) ]
1845
1733
#[ cfg_attr( feature = "dox" , doc( cfg( feature = "v4_8" ) ) ) ]
1846
1734
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
@@ -1941,16 +1829,6 @@ impl ToValue for ScrollUnit {
1941
1829
}
1942
1830
}
1943
1831
1944
- #[ cfg( any( feature = "v4_8" , feature = "dox" ) ) ]
1945
- #[ cfg_attr( feature = "dox" , doc( cfg( feature = "v4_8" ) ) ) ]
1946
- impl From < ScrollUnit > for glib:: Value {
1947
- #[ inline]
1948
- fn from ( v : ScrollUnit ) -> Self {
1949
- skip_assert_initialized ! ( ) ;
1950
- ToValue :: to_value ( & v)
1951
- }
1952
- }
1953
-
1954
1832
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
1955
1833
#[ non_exhaustive]
1956
1834
#[ doc( alias = "GdkSubpixelLayout" ) ]
@@ -2055,14 +1933,6 @@ impl ToValue for SubpixelLayout {
2055
1933
}
2056
1934
}
2057
1935
2058
- impl From < SubpixelLayout > for glib:: Value {
2059
- #[ inline]
2060
- fn from ( v : SubpixelLayout ) -> Self {
2061
- skip_assert_initialized ! ( ) ;
2062
- ToValue :: to_value ( & v)
2063
- }
2064
- }
2065
-
2066
1936
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
2067
1937
#[ non_exhaustive]
2068
1938
#[ doc( alias = "GdkSurfaceEdge" ) ]
@@ -2177,14 +2047,6 @@ impl ToValue for SurfaceEdge {
2177
2047
}
2178
2048
}
2179
2049
2180
- impl From < SurfaceEdge > for glib:: Value {
2181
- #[ inline]
2182
- fn from ( v : SurfaceEdge ) -> Self {
2183
- skip_assert_initialized ! ( ) ;
2184
- ToValue :: to_value ( & v)
2185
- }
2186
- }
2187
-
2188
2050
#[ cfg( any( feature = "v4_6" , feature = "dox" ) ) ]
2189
2051
#[ cfg_attr( feature = "dox" , doc( cfg( feature = "v4_6" ) ) ) ]
2190
2052
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
@@ -2320,16 +2182,6 @@ impl ToValue for TextureError {
2320
2182
}
2321
2183
}
2322
2184
2323
- #[ cfg( any( feature = "v4_6" , feature = "dox" ) ) ]
2324
- #[ cfg_attr( feature = "dox" , doc( cfg( feature = "v4_6" ) ) ) ]
2325
- impl From < TextureError > for glib:: Value {
2326
- #[ inline]
2327
- fn from ( v : TextureError ) -> Self {
2328
- skip_assert_initialized ! ( ) ;
2329
- ToValue :: to_value ( & v)
2330
- }
2331
- }
2332
-
2333
2185
#[ cfg( any( feature = "v4_4" , feature = "dox" ) ) ]
2334
2186
#[ cfg_attr( feature = "dox" , doc( cfg( feature = "v4_4" ) ) ) ]
2335
2187
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
@@ -2435,16 +2287,6 @@ impl ToValue for TitlebarGesture {
2435
2287
}
2436
2288
}
2437
2289
2438
- #[ cfg( any( feature = "v4_4" , feature = "dox" ) ) ]
2439
- #[ cfg_attr( feature = "dox" , doc( cfg( feature = "v4_4" ) ) ) ]
2440
- impl From < TitlebarGesture > for glib:: Value {
2441
- #[ inline]
2442
- fn from ( v : TitlebarGesture ) -> Self {
2443
- skip_assert_initialized ! ( ) ;
2444
- ToValue :: to_value ( & v)
2445
- }
2446
- }
2447
-
2448
2290
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
2449
2291
#[ non_exhaustive]
2450
2292
#[ doc( alias = "GdkTouchpadGesturePhase" ) ]
@@ -2539,14 +2381,6 @@ impl ToValue for TouchpadGesturePhase {
2539
2381
}
2540
2382
}
2541
2383
2542
- impl From < TouchpadGesturePhase > for glib:: Value {
2543
- #[ inline]
2544
- fn from ( v : TouchpadGesturePhase ) -> Self {
2545
- skip_assert_initialized ! ( ) ;
2546
- ToValue :: to_value ( & v)
2547
- }
2548
- }
2549
-
2550
2384
#[ derive( Debug , Eq , PartialEq , Ord , PartialOrd , Hash , Clone , Copy ) ]
2551
2385
#[ non_exhaustive]
2552
2386
#[ doc( alias = "GdkVulkanError" ) ]
@@ -2651,11 +2485,3 @@ impl ToValue for VulkanError {
2651
2485
Self :: static_type ( )
2652
2486
}
2653
2487
}
2654
-
2655
- impl From < VulkanError > for glib:: Value {
2656
- #[ inline]
2657
- fn from ( v : VulkanError ) -> Self {
2658
- skip_assert_initialized ! ( ) ;
2659
- ToValue :: to_value ( & v)
2660
- }
2661
- }
0 commit comments