@@ -14,7 +14,7 @@ extern "C" {
14
14
#[ doc = "" ]
15
15
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
16
16
#[ wasm_bindgen( method, getter = "delay" ) ]
17
- pub fn get_delay ( this : & ComputedEffectTiming ) -> Option < f64 > ;
17
+ pub fn get_delay ( this : & ComputedEffectTiming ) -> f64 ;
18
18
#[ doc = "Change the `delay` field of this object." ]
19
19
#[ doc = "" ]
20
20
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -25,7 +25,7 @@ extern "C" {
25
25
#[ doc = "" ]
26
26
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`, `PlaybackDirection`*" ]
27
27
#[ wasm_bindgen( method, getter = "direction" ) ]
28
- pub fn get_direction ( this : & ComputedEffectTiming ) -> Option < PlaybackDirection > ;
28
+ pub fn get_direction ( this : & ComputedEffectTiming ) -> PlaybackDirection ;
29
29
#[ cfg( feature = "PlaybackDirection" ) ]
30
30
#[ doc = "Change the `direction` field of this object." ]
31
31
#[ doc = "" ]
@@ -46,7 +46,7 @@ extern "C" {
46
46
#[ doc = "" ]
47
47
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
48
48
#[ wasm_bindgen( method, getter = "easing" ) ]
49
- pub fn get_easing ( this : & ComputedEffectTiming ) -> Option < String > ;
49
+ pub fn get_easing ( this : & ComputedEffectTiming ) -> String ;
50
50
#[ doc = "Change the `easing` field of this object." ]
51
51
#[ doc = "" ]
52
52
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -56,7 +56,7 @@ extern "C" {
56
56
#[ doc = "" ]
57
57
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
58
58
#[ wasm_bindgen( method, getter = "endDelay" ) ]
59
- pub fn get_end_delay ( this : & ComputedEffectTiming ) -> Option < f64 > ;
59
+ pub fn get_end_delay ( this : & ComputedEffectTiming ) -> f64 ;
60
60
#[ doc = "Change the `endDelay` field of this object." ]
61
61
#[ doc = "" ]
62
62
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -67,7 +67,7 @@ extern "C" {
67
67
#[ doc = "" ]
68
68
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`, `FillMode`*" ]
69
69
#[ wasm_bindgen( method, getter = "fill" ) ]
70
- pub fn get_fill ( this : & ComputedEffectTiming ) -> Option < FillMode > ;
70
+ pub fn get_fill ( this : & ComputedEffectTiming ) -> FillMode ;
71
71
#[ cfg( feature = "FillMode" ) ]
72
72
#[ doc = "Change the `fill` field of this object." ]
73
73
#[ doc = "" ]
@@ -78,7 +78,7 @@ extern "C" {
78
78
#[ doc = "" ]
79
79
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
80
80
#[ wasm_bindgen( method, getter = "iterationStart" ) ]
81
- pub fn get_iteration_start ( this : & ComputedEffectTiming ) -> Option < f64 > ;
81
+ pub fn get_iteration_start ( this : & ComputedEffectTiming ) -> f64 ;
82
82
#[ doc = "Change the `iterationStart` field of this object." ]
83
83
#[ doc = "" ]
84
84
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -88,7 +88,7 @@ extern "C" {
88
88
#[ doc = "" ]
89
89
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
90
90
#[ wasm_bindgen( method, getter = "iterations" ) ]
91
- pub fn get_iterations ( this : & ComputedEffectTiming ) -> Option < f64 > ;
91
+ pub fn get_iterations ( this : & ComputedEffectTiming ) -> f64 ;
92
92
#[ doc = "Change the `iterations` field of this object." ]
93
93
#[ doc = "" ]
94
94
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -98,7 +98,7 @@ extern "C" {
98
98
#[ doc = "" ]
99
99
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
100
100
#[ wasm_bindgen( method, getter = "activeDuration" ) ]
101
- pub fn get_active_duration ( this : & ComputedEffectTiming ) -> Option < f64 > ;
101
+ pub fn get_active_duration ( this : & ComputedEffectTiming ) -> f64 ;
102
102
#[ doc = "Change the `activeDuration` field of this object." ]
103
103
#[ doc = "" ]
104
104
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -118,7 +118,7 @@ extern "C" {
118
118
#[ doc = "" ]
119
119
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
120
120
#[ wasm_bindgen( method, getter = "endTime" ) ]
121
- pub fn get_end_time ( this : & ComputedEffectTiming ) -> Option < f64 > ;
121
+ pub fn get_end_time ( this : & ComputedEffectTiming ) -> f64 ;
122
122
#[ doc = "Change the `endTime` field of this object." ]
123
123
#[ doc = "" ]
124
124
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
@@ -149,6 +149,7 @@ impl ComputedEffectTiming {
149
149
#[ doc = "Construct a new `ComputedEffectTiming`." ]
150
150
#[ doc = "" ]
151
151
#[ doc = "*This API requires the following crate features to be activated: `ComputedEffectTiming`*" ]
152
+ #[ deprecated]
152
153
pub fn new ( ) -> Self {
153
154
#[ allow( unused_mut) ]
154
155
let mut ret: Self = :: wasm_bindgen:: JsCast :: unchecked_into ( :: js_sys:: Object :: new ( ) ) ;
0 commit comments