summaryrefslogtreecommitdiffstats
path: root/servo/components/style/values/computed/easing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'servo/components/style/values/computed/easing.rs')
-rw-r--r--servo/components/style/values/computed/easing.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/servo/components/style/values/computed/easing.rs b/servo/components/style/values/computed/easing.rs
new file mode 100644
index 0000000000..877810de6d
--- /dev/null
+++ b/servo/components/style/values/computed/easing.rs
@@ -0,0 +1,14 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+
+//! Computed types for CSS Easing functions.
+
+use crate::values::computed::{Integer, Number};
+use crate::values::generics::easing;
+
+/// A computed timing function.
+pub type ComputedTimingFunction = easing::TimingFunction<Integer, Number>;
+
+/// An alias of the computed timing function.
+pub type TimingFunction = ComputedTimingFunction;